myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r1642657 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
Date Mon, 01 Dec 2014 09:21:48 GMT
Author: weber
Date: Mon Dec  1 09:21:47 2014
New Revision: 1642657

URL: http://svn.apache.org/r1642657
Log:
TOBAGO-1426 - Possible NumberFormatException when decoding sheet

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=1642657&r1=1642656&r2=1642657&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
Mon Dec  1 09:21:47 2014
@@ -418,7 +418,7 @@ Tobago.Sheet.setup2 = function (sheets) 
 
     // store the position in a hidden field
     var hidden = Tobago.Sheet.hidden(sheetBody.parent(), "scrollPosition");
-    hidden.val(scrollLeft + ";" + scrollTop);
+    hidden.val(Math.round(scrollLeft) + ";" + Math.round(scrollTop));
   });
 
   // init last click



Mime
View raw message