Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#653 closed defect (fixed)

Drag-and-drop (DND) error when interacting with form elements

Reported by: joey@… Owned by: sjmiles
Priority: high Milestone:
Component: General Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

Hi, There appears to be an error when an <option> element encapsulated in a <select> is accidentally dragged around. The following code snippet was found in the DnD Manager class:

do not start drag involvement if the user is interacting with a form element. if(dojo.html.isTag(target, "button", "textarea", "input")) {

return;

}

I changed it to: if(dojo.html.isTag(target, "button", "textarea", "input", "select", "option")) {

return;

}

There were no problems after that.

Change History (3)

comment:1 Changed 14 years ago by sjmiles

Owner: changed from anonymous to sjmiles

comment:2 Changed 14 years ago by sjmiles

Resolution: fixed
Status: newclosed

Added 'select' and 'option' to the ingored tags as suggested. See r3780.

comment:3 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.