czschech
04-20-2007, 06:30 AM
I get this error, when I close a MessageBox with any button (ok, cancel, etc.)
[Exception... "'Die Erlaubnis für das Lesen der Eigenschaft HTMLDivElement.nodeType wurde verweigert' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Line 0
I traced the Problem to Ext.Shadow.
When I comment out this:
if(this.shadow){
this.shadow.hide();
}
in Ext.BasicDialog.hide(), I don't get the error.
The problem comes from setting the style.display property of the shadow div to none...
changing:
this.shadow.hide()
to
this.shadow.hide.defer(100, this.shadow)
solved the problem for me...
[Exception... "'Die Erlaubnis für das Lesen der Eigenschaft HTMLDivElement.nodeType wurde verweigert' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Line 0
I traced the Problem to Ext.Shadow.
When I comment out this:
if(this.shadow){
this.shadow.hide();
}
in Ext.BasicDialog.hide(), I don't get the error.
The problem comes from setting the style.display property of the shadow div to none...
changing:
this.shadow.hide()
to
this.shadow.hide.defer(100, this.shadow)
solved the problem for me...