mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-14 15:58:20 +00:00
replace calls to new() with Ext.create()
This commit is contained in:
parent
c5b0115067
commit
fbe1b520b3
@ -82,12 +82,12 @@ Ext.define('PVE.grid.ObjectGrid', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (me.sorterFn) {
|
if (me.sorterFn) {
|
||||||
store.sorters.add(new Ext.util.Sorter({
|
store.sorters.add(Ext.create('Ext.util.Sorter', {
|
||||||
sorterFn: me.sorterFn
|
sorterFn: me.sorterFn
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
store.filters.add(new Ext.util.Filter({
|
store.filters.add(Ext.create('Ext.util.Filter', {
|
||||||
filterFn: function(item) {
|
filterFn: function(item) {
|
||||||
if (rows) {
|
if (rows) {
|
||||||
var rowdef = rows[item.data.key];
|
var rowdef = rows[item.data.key];
|
||||||
|
Loading…
Reference in New Issue
Block a user