diff options
-rw-r--r-- | tests/visual/sortable/sortable_option_revert_false.html | 28 | ||||
-rw-r--r-- | tests/visual/sortable/sortable_option_revert_true.html | 28 |
2 files changed, 56 insertions, 0 deletions
diff --git a/tests/visual/sortable/sortable_option_revert_false.html b/tests/visual/sortable/sortable_option_revert_false.html new file mode 100644 index 000000000..9e32a496b --- /dev/null +++ b/tests/visual/sortable/sortable_option_revert_false.html @@ -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> diff --git a/tests/visual/sortable/sortable_option_revert_true.html b/tests/visual/sortable/sortable_option_revert_true.html new file mode 100644 index 000000000..8f0c42e7c --- /dev/null +++ b/tests/visual/sortable/sortable_option_revert_true.html @@ -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> |