myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ct...@apache.org
Subject svn commit: r662353 - /myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/MessageBox.js
Date Mon, 02 Jun 2008 07:51:23 GMT
Author: ctoth
Date: Mon Jun  2 00:51:23 2008
New Revision: 662353

URL: http://svn.apache.org/viewvc?rev=662353&view=rev
Log:
TRINIDAD-1106 tr:messages inside tr:showdetail generates js error

Modified:
    myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/MessageBox.js

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/MessageBox.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/MessageBox.js?rev=662353&r1=662352&r2=662353&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/MessageBox.js
(original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/MessageBox.js
Mon Jun  2 00:51:23 2008
@@ -140,7 +140,7 @@
 {
   var listElement = this._getMessageList();
   
-  if (!listElement.hasChildNodes())
+  if (!listElement || !listElement.hasChildNodes())
     return;
     
   var lineName = this._getMessageNameForInput(inputId);



Mime
View raw message