From 3bc671c08bc7f540fb5aaf5f6aef1524c02c874d Mon Sep 17 00:00:00 2001 From: Oleg Verych Date: Thu, 12 Jun 2014 04:07:21 +0300 Subject: [PATCH] Ext 4.2 fix: rework absent Ext.view.Table.all --- ux/grid/plugin/DragSelector.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ux/grid/plugin/DragSelector.js b/ux/grid/plugin/DragSelector.js index 7b88eea..9cf31d5 100644 --- a/ux/grid/plugin/DragSelector.js +++ b/ux/grid/plugin/DragSelector.js @@ -90,10 +90,10 @@ Ext.define('Ext.ux.grid.plugin.DragSelector', { me.mainRegion = me.scroller.getRegion(); me.bodyRegion = me.scroller.getRegion(); - me.view.all.each(function(el) + Ext.Array.each(me.view.getNodes(),function(el) { objectsSelected.push(me.selModel.isSelected(objectsSelected.length)); - }, me); + }); me.syncScroll(); }, @@ -101,9 +101,9 @@ Ext.define('Ext.ux.grid.plugin.DragSelector', { fillRegions: function() { var rs = this.rs = []; - this.view.all.each(function(el) + Ext.Array.each(this.view.getNodes(),function(el) { - rs.push(el.getRegion()); + rs.push(Ext.util.Region.getRegion(el)); }); },