Hi,
Dojo: 1.0.2, (custom build)
In my page I use a TabContainer, which loads every tab's content trough XHR. If I'm changeing the active tab while it is loading in random cases I get an error in IE and FF.
IE: currentStyle is null or not an object
FF:
Object cannot be created in this context" code: "9
_doIt("GET", Object chain=[0] id=5 fired=0 paused=0 results=[2])dojo.js.uncompres... (line 6626)
xhrGet(Object preventCache=true)dojo.js.uncompres... (line 6683)
_downloadExternalContent()dojo4caf.js.uncom... (line 5863)
_loadCheck(undefined)dojo4caf.js.uncom... (line 5841)
_showChild([Widget dijit.layout.ContentPane, internetTab] srcNodeRef=div#internetTab.dijitContentPane)dojo4caf.js.uncom... (line 7087)
_transition([Widget dijit.layout.ContentPane, internetTab] srcNodeRef=div#internetTab.dijitContentPane, [Widget dijit.layout.ContentPane, bkvTab] srcNodeRef=div#bkvTab.dijitContentPane)dojo4caf.js.uncom... (line 7041)
selectChild([Widget dijit.layout.ContentPane, internetTab] srcNodeRef=div#internetTab.dijitContentPane)dojo4caf.js.uncom... (line 7031)
onButtonClick([Widget dijit.layout.ContentPane, internetTab] srcNodeRef=div#internetTab.dijitContentPane)dojo4caf.js.uncom... (line 7222)
(no name)()dojo.js.uncompres... (line 1281)
(no name)()dojo.js.uncompres... (line 1656)
(no name)()dojo.js.uncompres... (line 1317)
[Break on this error] return dv.getComputedStyle(node, null);
_doIt("GET", Object chain=[0] id=5 fired=0 paused=0 results=[2])dojo.js.uncompres... (line 6626)
xhrGet(Object preventCache=true)dojo.js.uncompres... (line 6683)
_downloadExternalContent()dojo4caf.js.uncom... (line 5863)
_loadCheck(undefined)dojo4caf.js.uncom... (line 5841)
_showChild([Widget dijit.layout.ContentPane, internetTab] srcNodeRef=div#internetTab.dijitContentPane)dojo4caf.js.uncom... (line 7087)
_transition([Widget dijit.layout.ContentPane, internetTab] srcNodeRef=div#internetTab.dijitContentPane, [Widget dijit.layout.ContentPane, bkvTab] srcNodeRef=div#bkvTab.dijitContentPane)dojo4caf.js.uncom... (line 7041)
selectChild([Widget dijit.layout.ContentPane, internetTab] srcNodeRef=div#internetTab.dijitContentPane)dojo4caf.js.uncom... (line 7031)
onButtonClick([Widget dijit.layout.ContentPane, internetTab] srcNodeRef=div#internetTab.dijitContentPane)dojo4caf.js.uncom... (line 7222)
(no name)()dojo.js.uncompres... (line 1281)
(no name)()dojo.js.uncompres... (line 1656)
(no name)()dojo.js.uncompres... (line 1317)
[Break on this error] return dv.getComputedStyle(node, null);
For me it seems that "node" is not an object at the time the code tries to get the style info from it.
The "node" variable comes from "dojo.marginBox" call in dijit.layout.ContentPane.resize(), where the this.domNode variable is null.
Is there a bug fix?
