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 2014/07/11 10:35:57 UTC

svn commit: r1609648 - /myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Author: lofwyr
Date: Fri Jul 11 08:35:57 2014
New Revision: 1609648

URL: http://svn.apache.org/r1609648
Log:
TOBAGO-1411: readonly selectBooleanCheckbox and selectManyCheckbox doesn't work properly

Modified:
    myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1609648&r1=1609647&r2=1609648&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Fri Jul 11 08:35:57 2014
@@ -2783,7 +2783,7 @@ Tobago.SelectBooleanCheckbox.init = func
     // Save the initial state to restore it, when the user tries to manipulate it.
     var initial = jQuery(this).is(":checked");
     jQuery(this).click(function() {
-      jQuery(this).attr("checked", initial);
+      jQuery(this).prop("checked", initial);
     });
   });
 };
@@ -2801,7 +2801,7 @@ Tobago.SelectManyCheckbox.init = functio
     // Save the initial state to restore it, when the user tries to manipulate it.
     var initial = jQuery(this).is(":checked");
     jQuery(this).click(function() {
-      jQuery(this).attr("checked", initial);
+      jQuery(this).prop("checked", initial);
     });
   });
 };