Author: hermanns
Date: Sat Jun 14 05:44:40 2008
New Revision: 667793

URL: http://svn.apache.org/viewvc?rev=667793&view=rev
Log:
WW-2520 IE bug on tabbedpanel with Enclosed ajax div on first tab
o applied patch by Stanislav Malishevskiy

Modified:
    
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js

Modified: 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js?rev=667793&r1=667792&r2=667793&view=diff
==============================================================================
--- 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js
 (original)
+++ 
struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/src/widget/ContentPane.js
 Sat Jun 14 05:44:40 2008
@@ -317,7 +317,7 @@
        this._styleNodes = [];
        try {
                var node = this.containerNode || this.domNode;
-               while (node.firstChild) {
+               while(node!=null && node.firstChild){ 
                        dojo.html.destroyNode(node.firstChild);
                }
                if (typeof cont != "string") {


Reply via email to