Skip to main content

Bug Tracker

Side navigation

#2541 closed bug (fixed)

Opened March 18, 2008 02:09PM UTC

Closed March 31, 2008 02:39AM UTC

Last modified March 31, 2008 03:50AM UTC

[draggable] unit test failure - draggable-options-cancel-(empty)

Reported by: rworth Owned by: braeker
Priority: major Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:

The following unit test is failing:

Expected behavior:

Dragging can start on all items, as the default cancel value ('input,textarea,button,select,option') was overridden by cancel: ''

Actual behavior:

Attempting to drag the div by starting on the textbox does not start the drag.

Attachments (0)
Change History (3)

Changed March 25, 2008 03:09PM UTC by paul comment:1

owner: paulbraeker

Changed March 31, 2008 02:39AM UTC by braeker comment:2

resolution: → fixed
status: newclosed

I just fixed this bug, but on the unit test it still not working, If you try the code below will work perfectly.

$('#example1')..append('<' + 'input type="text"/>').draggable({cancel: ''});

Changed March 31, 2008 03:50AM UTC by braeker comment:3

Now its working perfect, included in the unit test.