Skip to main content

Search and Top Navigation

#2541 closed bug (fixed)

Opened March 18, 2008 02:09PM UTC

Closed March 31, 2008 02:39AM UTC

Last modified February 26, 2009 12:01PM UTC

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

Reported by: rworth Owned by: eduardo
Priority: major Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

The following unit test is failing:

http://dev.jquery.com/view/trunk/ui/tests/uiTest.draggable.html#draggable-options-cancel-(empty)

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 (5)

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.

Changed May 24, 2008 03:39AM UTC by comment:4

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed February 26, 2009 12:01PM UTC by paul comment:5

milestone: → 1.5