You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/04/29 11:53:46 UTC
svn commit: r398110 -
/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Author: weber
Date: Sat Apr 29 02:53:44 2006
New Revision: 398110
URL: http://svn.apache.org/viewcvs?rev=398110&view=rev
Log:
TOBAGO-62 (Tree will not be dispayed correctly when tabswitch with ajax)
fix bug in scriptLoader part of tobago.js
Modified:
myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewcvs/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=398110&r1=398109&r2=398110&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Sat Apr 29 02:53:44 2006
@@ -1206,9 +1206,11 @@
// } else {
// LOG.debug("doAfter = " + this.doAfter)
// }
- delete this.scriptElement.onreadystatechange;
- delete this.scriptElement.onload;
- delete this.scriptElement;
+ if (this.scriptElement) {
+ delete this.scriptElement.onreadystatechange;
+ delete this.scriptElement.onload;
+ delete this.scriptElement;
+ }
delete this.actualScript;
delete this.names;
delete this.doAfter;