Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2541 closed bug (fixed)

[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.

Change History (5)

comment:1 Changed 15 years ago by paul

Owner: changed from paul to braeker

comment:2 Changed 15 years ago by braeker

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: });

comment:3 Changed 15 years ago by braeker

Now its working perfect, included in the unit test.

comment:4 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:5 Changed 14 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.