erp_app 3.0.8 → 3.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@ module ErpApp
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 8
5
+ TINY = 9
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
@@ -140,7 +140,7 @@ Ext.define('Compass.MultiCellSelectionModel', {
140
140
 
141
141
  if(me.allowDeselect){
142
142
 
143
- var index = this.selected.items.indexOf(cell);
143
+ var index = Ext.Array.indexOf(this.selected.items, cell);
144
144
  this.selected.items.splice(index,1);
145
145
  me.primaryView.onCellDeselect(me.getCurrentPosition());
146
146
 
@@ -211,9 +211,8 @@ Ext.define('Compass.MultiCellSelectionModel', {
211
211
  return false;
212
212
 
213
213
  }
214
-
215
- return this.selected.items.indexOf(record) !== -1;
216
-
214
+
215
+ return Ext.Array.indexOf(this.selected.items, record) !== -1;
217
216
  },
218
217
 
219
218
  selectWithEvent: function(record, e) {
@@ -231,7 +230,7 @@ Ext.define('Compass.MultiCellSelectionModel', {
231
230
 
232
231
  if(me.allowDeselect){
233
232
 
234
- var index = this.selected.items.indexOf(cell);
233
+ var index = Ext.Array.indexOf(this.selected.items, cell);
235
234
  this.selected.items.splice(index,1);
236
235
  me.primaryView.onCellDeselect(me.getCurrentPosition());
237
236