r2040 - in trunk: demos/droppable tests/visual/droppable

r2040 - in trunk: demos/droppable tests/visual/droppable


Author: rdworth
Date: Sat Feb 7 09:47:25 2009
New Revision: 2040
Added:
trunk/tests/visual/droppable/droppable_ticket_4087.html
- copied, changed from r2039,
/trunk/demos/droppable/remove-draggable-after-drop.html
Removed:
trunk/demos/droppable/remove-draggable-after-drop.html
Log:
Moved #4087 test page from demos/droppable to /tests/visual/droppable
Copied: trunk/tests/visual/droppable/droppable_ticket_4087.html (from
r2039, /trunk/demos/droppable/remove-draggable-after-drop.html)
==============================================================================
--- /trunk/demos/droppable/remove-draggable-after-drop.html    (original)
+++ trunk/tests/visual/droppable/droppable_ticket_4087.html    Sat Feb 7
09:47:25 2009
@@ -1,12 +1,12 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Droppable - Remove Draggable After Drop Demo</title>
-    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
-    <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.draggable.js"></script>
-    <script type="text/javascript" src="../../ui/ui.droppable.js"></script>
+    <title>Droppable Visual Test - Droppable ticket 4087</title>
+    <link type="text/css" href="../../../themes/base/ui.all.css"
rel="stylesheet" />
+    <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.draggable.js"></script>
+    <script type="text/javascript" src="../../../ui/ui.droppable.js"></script>
    <link type="text/css" href="../demos.css" rel="stylesheet" />
    <style type="text/css">
    #draggable { width: 100px; height: 100px; padding: 0.5em; float: left;
margin: 10px; }
@@ -24,22 +24,25 @@
    </script>
</head>
<body>
-<div class="demo">
+
+<h1>
+Ticket <a href="http://dev.jqueryui.com/ticket/4087">#4087</a> - Removing
ui.draggable immediately after the drop callback raises an error.
+</h2>
+<h2>
+TEST: Drag 'Drag me' to the div labelled 'Drop here'
+</h2>
    
<div id="draggable" class="ui-widget-content">
-    

Drag me to my target


+    

Drag me


</div>
<div id="droppable" class="ui-widget-header">
    

Drop here


</div>
-</div><!-- End demo -->
-
-<div class="demo-description">
-
-

Testcase for <a href="http://dev.jqueryui.com/ticket/4087">#4087</a>.
Burn after resolving.


+<h3 style="clear:left;">
+ASSERT: No exception '$(this).data("draggable") is undefined'
+</h3>
-</div><!-- End demo-description -->
</body>
</html>