dialog: fixed dragStop test (was using dragStart instead of dragStop, copy&paste FTF)

This commit is contained in:
Jörn Zaefferer 2009-09-14 14:54:15 +00:00
parent fde0b18eea
commit 219c81a208

View File

@ -86,7 +86,7 @@ test("dragStop", function() {
expect(7); expect(7);
el = $('<div></div>').dialog({ el = $('<div></div>').dialog({
dragStart: function(ev, ui) { dragStop: function(ev, ui) {
ok(true, 'dragging fires dragStop callback'); ok(true, 'dragging fires dragStop callback');
equals(this, el[0], "context of callback"); equals(this, el[0], "context of callback");
equals(ev.type, 'dialogdragstop', 'event type in callback'); equals(ev.type, 'dialogdragstop', 'event type in callback');