From: Richard Worth Date: Sat, 7 Feb 2009 17:47:25 +0000 (+0000) Subject: Moved #4087 test page from demos/droppable to /tests/visual/droppable X-Git-Tag: 1.6~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3bb13571ca365a9ec765fe66589ff1b8c24413f3;p=jquery-ui.git Moved #4087 test page from demos/droppable to /tests/visual/droppable --- diff --git a/demos/droppable/remove-draggable-after-drop.html b/demos/droppable/remove-draggable-after-drop.html deleted file mode 100644 index 7ac98bde5..000000000 --- a/demos/droppable/remove-draggable-after-drop.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - jQuery UI Droppable - Remove Draggable After Drop Demo - - - - - - - - - - -
- -
-

Drag me to my target

-
- -
-

Drop here

-
- -
- -
- -

Testcase for #4087. Burn after resolving.

- -
- - diff --git a/tests/visual/droppable/droppable_ticket_4087.html b/tests/visual/droppable/droppable_ticket_4087.html new file mode 100644 index 000000000..121b2faf0 --- /dev/null +++ b/tests/visual/droppable/droppable_ticket_4087.html @@ -0,0 +1,48 @@ + + + + Droppable Visual Test - Droppable ticket 4087 + + + + + + + + + + + +

+Ticket #4087 - Removing ui.draggable immediately after the drop callback raises an error. +

+

+TEST: Drag 'Drag me' to the div labelled 'Drop here' +

+ +
+

Drag me

+
+ +
+

Drop here

+
+ +

+ASSERT: No exception '$(this).data("draggable") is undefined' +

+ + +