Opened 15 years ago

Last modified 15 years ago

#3370 closed defect

DnD: problem with form elements — at Version 2

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

Description (last modified by Eugene Lazutkin)

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 (2)

comment:1 Changed 15 years ago by Eugene Lazutkin

Status: newassigned

comment:2 Changed 15 years ago by Eugene Lazutkin

Description: modified (diff)
Note: See TracTickets for help on using tickets.