[
https://issues.apache.org/jira/browse/XAP-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500838
]
Turyn, Michael edited comment on XAP-392 at 6/1/07 1:28 PM:
------------------------------------------------------------
Guess: Dojo still thinks the active menu is one from the window that's been
closed.
(Later:) This appears to be the case; removing the menu bar seems to avoid the
error under IE.
This is some code run as a result of a connect with someone's onClick event.
I'm having trouble tracing it back far under IE7; I'm looking at it under
Firefox/Venkman: there appears to be an exception there too, as well as when
the window is initially closed, and a few at startup. When the window is
closed, the error message seems to stem from trying to destroy the node for an
object (a Dojo widget?) that has already removed it from itself.
Preliminary work indicates that the bug filed here may be from
PopupManager.onClick, where it's trying to locate if a click is over the
currently active menu 'm':
||||||||||||||||||||||||||||||||||||||||||||||
if(dojo.html.overElement(m.domNode,e)||dojo.html.isDescendantOf(e.target,m.domNode)){[....]
This is a place where a non-xapMin, uncompressed, build is a good idea for
debugging.
was:
This is some code run as a result of a connect with someone's onClick event.
I'm having trouble tracing it back far under IE7; I'm looking at it under
Firefox/Venkman: there appears to be an exception there too, as well as when
the window is initially closed, and a few at startup. When the window is
closed, the error message seems to stem from trying to destroy the node for an
object (a Dojo widget?) that has already removed it from itself.
Preliminary work indicates that the bug filed here may be from
PopupManager.onClick, where it's trying to locate if a click is over the
currently active menu 'm':
||||||||||||||||||||||||||||||||||||||||||||||
if(dojo.html.overElement(m.domNode,e)||dojo.html.isDescendantOf(e.target,m.domNode)){[....]
Guess: Dojo still thinks the active menu is one from the window that's been
closed.
This is a place where a non-xapMin, uncompressed, build is a good idea for
debugging.
> Widgets: Window: Title bar throws error in IE7 when clicked
> -----------------------------------------------------------
>
> Key: XAP-392
> URL: https://issues.apache.org/jira/browse/XAP-392
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Windows and Dialogs
> Reporter: Trevor Oldak
> Priority: Critical
>
> Open the XAP window widget component test in IE7 and click a title bar. The
> following error is shown
> Line: 11269
> Character: 1
> Code: 0
> Error Message: 'offsetWidth' is null or not an object
> URL:
> http://localhost:81/XAP_testing68/.dist/samples/xap/examples/widgets/widget_loader.html?xalFile=window.xal
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.