Author: konstantin.mishin
Date: 2007-06-11 07:40:00 -0400 (Mon, 11 Jun 2007)
New Revision: 1115
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/DataCash.js
Log:
small fix
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/DataCash.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/DataCash.js 2007-06-11
08:12:05 UTC (rev 1114)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/DataCash.js 2007-06-11
11:40:00 UTC (rev 1115)
@@ -20,7 +20,7 @@
Object.extend(ClientUI.controls.grid.DataCash.prototype, {
initialize: function(cashSize) {
- var count = cashSize/this.PKG_SIZE + 1;
+ var count = parseInt(cashSize/this.PKG_SIZE + 1);
this.cash = new Array(count);
for(var i=0; i<count; i++) {
this.cash[i] = new Array(this.PKG_SIZE);
Show replies by date