Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#653 closed defect (fixed)

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

Reported by: [email protected] Owned by: sjmiles
Priority: high Milestone:
Component: General Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


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")) {



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



There were no problems after that.

Change History (3)

comment:1 Changed 16 years ago by sjmiles

Owner: changed from anonymous to sjmiles

comment:2 Changed 16 years ago by sjmiles

Resolution: fixed
Status: newclosed

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

comment:3 Changed 15 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.