r1929 - in trunk: tests/unit/dialog tests/visual/dialog ui
Author: rdworth
Date: Fri Jan 30 21:47:58 2009
New Revision: 1929
Added:
trunk/tests/visual/dialog/dialog_option_shadow_false.html (contents,
props changed)
trunk/tests/visual/dialog/dialog_option_shadow_true.html (contents,
props changed)
Modified:
trunk/tests/unit/dialog/dialog.js
trunk/tests/visual/dialog/dialog_option_modal_false.html (contents,
props changed)
trunk/tests/visual/dialog/dialog_option_modal_true.html (contents,
props changed)
trunk/ui/ui.dialog.js
Log:
dialog: changed shadow default to false. Not quite ready to be on by
default. Maybe in 1.next.
Modified: trunk/tests/unit/dialog/dialog.js
==============================================================================
--- trunk/tests/unit/dialog/dialog.js (original)
+++ trunk/tests/unit/dialog/dialog.js Fri Jan 30 21:47:58 2009
@@ -22,6 +22,7 @@
modal: false,
position: 'center',
resizable: true,
+ shadow: false,
stack: true,
title: '',
width: 300
Modified: trunk/tests/visual/dialog/dialog_option_modal_false.html
==============================================================================
--- trunk/tests/visual/dialog/dialog_option_modal_false.html (original)
+++ trunk/tests/visual/dialog/dialog_option_modal_false.html Fri Jan 30
21:47:58 2009
@@ -1,27 +1,27 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>Dialog Visual Test : Dialog option modal false</title>
- <link rel="stylesheet" href="../visual.css" type="text/css" />
- <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
- <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
- <script type="text/javascript" src="../../../ui/ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
- <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
- <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#dialog").dialog({
- modal: false
- });
- });
- </script>
-</head>
-<body>
-
-<div id="dialog" title="Dialog Title">
- Dialog Content
-</div>
-
-</body>
-</html>
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Dialog Visual Test : Dialog option modal false</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#dialog").dialog({
+ modal: false
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog" title="Dialog Title">
+ Dialog Content
+</div>
+
+</body>
+</html>
Modified: trunk/tests/visual/dialog/dialog_option_modal_true.html
==============================================================================
--- trunk/tests/visual/dialog/dialog_option_modal_true.html (original)
+++ trunk/tests/visual/dialog/dialog_option_modal_true.html Fri Jan 30
21:47:58 2009
@@ -1,27 +1,27 @@
-<!doctype html>
-<html lang="en">
-<head>
- <title>Dialog Visual Test : Dialog option modal true</title>
- <link rel="stylesheet" href="../visual.css" type="text/css" />
- <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
- <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
- <script type="text/javascript" src="../../../ui/ui.core.js"></script>
- <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
- <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
- <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#dialog").dialog({
- modal: true
- });
- });
- </script>
-</head>
-<body>
-
-<div id="dialog" title="Dialog Title">
- Dialog Content
-</div>
-
-</body>
-</html>
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Dialog Visual Test : Dialog option modal true</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#dialog").dialog({
+ modal: true
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog" title="Dialog Title">
+ Dialog Content
+</div>
+
+</body>
+</html>
Added: trunk/tests/visual/dialog/dialog_option_shadow_false.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/dialog/dialog_option_shadow_false.html Fri Jan 30
21:47:58 2009
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Dialog Visual Test : Dialog option shadow false</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#dialog").dialog({
+ shadow: false
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog" title="Dialog Title">
+ Dialog Content
+</div>
+
+</body>
+</html>
Added: trunk/tests/visual/dialog/dialog_option_shadow_true.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/dialog/dialog_option_shadow_true.html Fri Jan 30
21:47:58 2009
@@ -0,0 +1,27 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Dialog Visual Test : Dialog option shadow true</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css"
type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#dialog").dialog({
+ shadow: true
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div id="dialog" title="Dialog Title">
+ Dialog Content
+</div>
+
+</body>
+</html>
Modified: trunk/ui/ui.dialog.js
==============================================================================
--- trunk/ui/ui.dialog.js (original)
+++ trunk/ui/ui.dialog.js Fri Jan 30 21:47:58 2009
@@ -522,7 +522,7 @@
modal: false,
position: 'center',
resizable: true,
- shadow: true,
+ shadow: false,
stack: true,
title: '',
width: 300,