myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r1522831 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
Date Fri, 13 Sep 2013 09:37:09 GMT
Author: weber
Date: Fri Sep 13 09:37:09 2013
New Revision: 1522831

URL: http://svn.apache.org/r1522831
Log:
TOBAGO-1313 - Configurable ajax error handling

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

Modified: myfaces/tobago/trunk/tobago-theme/tobago-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/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js?rev=1522831&r1=1522830&r2=1522831&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
(original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
Fri Sep 13 09:37:09 2013
@@ -420,6 +420,7 @@ Tobago.Sheet.setup2 = function (sheets) 
         }
       });
     }
+    sheet.find("input.tobago-sheet-columnSelector").click(function(event) {event.preventDefault()});
   });
 
     // init reload
@@ -668,7 +669,8 @@ Tobago.Sheet.selectRange = function(shee
 Tobago.Sheet.selectRow = function(selected, rowIndex, row, checkbox) {
   selected.val(selected.val() + rowIndex + ",");
   row.addClass("tobago-sheet-row-markup-selected");
-  checkbox.prop("checked", true);
+//  checkbox.prop("checked", true);
+  setTimeout(function() {checkbox.prop("checked", true);}, 0);
 };
 
 /**
@@ -680,7 +682,8 @@ Tobago.Sheet.selectRow = function(select
 Tobago.Sheet.deselectRow = function(selected, rowIndex, row, checkbox) {
   selected.val(selected.val().replace(new RegExp("," + rowIndex + ","), ","));
   row.removeClass("tobago-sheet-row-markup-selected");
-  checkbox.prop("checked", false);
+//  checkbox.prop("checked", false);
+  setTimeout(function() {checkbox.prop("checked", false);}, 0);
 };
 
 /**



Mime
View raw message