Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2541 closed bug (fixed)

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

Change History (3)

comment:1 Changed 9 years ago by paul

  • Owner changed from paul to braeker

comment:2 Changed 9 years ago by braeker

  • Resolution set to fixed
  • Status changed from new to closed

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 9 years ago by braeker

Now its working perfect, included in the unit test.

Note: See TracTickets for help on using tickets.