jquery-ui/ui/tests/draggable.js
Paul Bakaus 63091e2c98
2008-05-23 13:32:32 +00:00

19 lines
394 B
JavaScript

$.fn.triggerKeydown = function(keyCode) {
return this.trigger("keydown", [$.event.fix({event:"keydown", keyCode: keyCode, target: this[0]})]);
};
$(document).ready(function() {
$("#draggable1").draggable();
module("draggable: simple drag & drop");
test("simple drag", function() {
expect(1);
ok(true, "Drag and drop element on the same position");
});
});