Opened 15 years ago

Last modified 15 years ago

#3370 closed defect

DnD: problem with form elements — at Initial Version

Reported by: Eugene Lazutkin Owned by: Eugene Lazutkin
Priority: high Milestone: 0.9beta
Component: DnD Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


From forums:

I have a form in ContentPane? and my browser is Firefox I've defined the form element to be a dojo.dnd.Source with attributes {isSource: false, accept: myType?}. When I move the mouse over the form, the animation for drop target launches alright. If I move the mouse pointer over any of the input elements (there are both plain HTML inputs and dojo widgets), the web browser gives this error: [Exception... "'Permission denied to get property HTMLDivElement.parentNode' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

I tested a bit, and it seems that only type="text" and input elements fire this exception, and the exception launches twice (when mouse enters and when it leaves the input area). The buttons, selects (non-dojo) and the dojo widget _Calendar are ok. This error happens also if I define the table element inside the form as Source.


Change History (0)

Note: See TracTickets for help on using tickets.