Bug Tracker

Modify

Ticket #2541 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

[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:
Blocking: Blocked by:

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

comment:1 Changed 6 years ago by paul

  • Owner changed from paul to braeker

comment:2 Changed 6 years ago by braeker

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

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

Now its working perfect, included in the unit test.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.