#653 closed defect (fixed)
Drag-and-drop (DND) error when interacting with form elements
Reported by: | 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 15 years ago by
Owner: | changed from anonymous to sjmiles |
---|
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Added 'select' and 'option' to the ingored tags as suggested. See r3780.