Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da1dc5f

Browse files
author
harrydeluxe
committed
some bug fixes
1 parent 2723580 commit da1dc5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ux/grid/plugin/MultipleSort.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
Ext.define('Ext.ux.grid.plugin.MultipleSort', {
4141
extend: 'Ext.toolbar.Toolbar',
4242
alias: 'plugin.ux.multiplesort',
43-
require: ['Ext.ux.BoxReorderer',
43+
requires: ['Ext.ux.BoxReorderer',
4444
'Ext.ux.ToolbarDroppable',
4545
'Ext.menu.Menu'],
4646

@@ -188,7 +188,7 @@ Ext.define('Ext.ux.grid.plugin.MultipleSort', {
188188

189189
onGridAfterLayout: function(grid) {
190190
var me = this,
191-
headerCt = (grid.ownerCt.lockedGrid) ? grid.ownerCt.lockedGrid.headerCt : grid.headerCt,
191+
headerCt = (grid.ownerCt && grid.ownerCt.lockedGrid) ? grid.ownerCt.lockedGrid.headerCt : grid.headerCt,
192192
dragZone = headerCt.reorderer.dragZone;
193193

194194
/**

0 commit comments

Comments
 (0)