r2036 - trunk/tests/visual/sortable

r2036 - trunk/tests/visual/sortable


Author: rdworth
Date: Sat Feb 7 09:15:47 2009
New Revision: 2036
Added:
trunk/tests/visual/sortable/sortable_option_revert_false.html
(contents, props changed)
trunk/tests/visual/sortable/sortable_option_revert_true.html
(contents, props changed)
Log:
sortable visual tests: option revert
Added: trunk/tests/visual/sortable/sortable_option_revert_false.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/sortable/sortable_option_revert_false.html    Sat Feb
7 09:15:47 2009
@@ -0,0 +1,28 @@
+<!doctype html>
+<html lang="en">
+<head>
+    <title>Sortable Visual Test : Sortable option revert 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.sortable.js"></script>
+    <script type="text/javascript">
+    $(function() {
+        $("#sortable").sortable({
+            revert: false
+        });
+    });
+    </script>
+</head>
+
+<body>
+
+<div id="sortable">
+    <div>Sortable 1</div>
+    <div>Sortable 2</div>
+    <div>Sortable 3</div>
+</div>
+
+</body>
+</html>
Added: trunk/tests/visual/sortable/sortable_option_revert_true.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/sortable/sortable_option_revert_true.html    Sat Feb 7
09:15:47 2009
@@ -0,0 +1,28 @@
+<!doctype html>
+<html lang="en">
+<head>
+    <title>Sortable Visual Test : Sortable option revert 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.sortable.js"></script>
+    <script type="text/javascript">
+    $(function() {
+        $("#sortable").sortable({
+            revert: true
+        });
+    });
+    </script>
+</head>
+
+<body>
+
+<div id="sortable">
+    <div>Sortable 1</div>
+    <div>Sortable 2</div>
+    <div>Sortable 3</div>
+</div>
+
+</body>
+</html>