You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/04/16 16:23:10 UTC

svn commit: r934910 - /myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js

Author: lofwyr
Date: Fri Apr 16 14:23:10 2010
New Revision: 934910

URL: http://svn.apache.org/viewvc?rev=934910&view=rev
Log:
TOBAGO-873: Optimizing sheet performace
 - fix for IE8

Modified:
    myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js

Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js?rev=934910&r1=934909&r2=934910&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js Fri Apr 16 14:23:10 2010
@@ -548,7 +548,11 @@ Tobago.Sheet.prototype.getSiblingRow = f
 };
 
 Tobago.Sheet.prototype.isEnabled = function(image) {
-  return image == null || image.attributes.disabled === undefined || image.attributes.disabled.value != "true";
+  return image == null
+      || image.attributes == null
+      || image.attributes.disabled === undefined
+      || image.attributes.disabled == null
+      || image.attributes.disabled.value != "true";
 };
 
 Tobago.Sheet.prototype.getRows = function() {