drop all hide calls

since we do not use tabpanels anymore,
the hide calls and listeners do nothing,
so we can drop them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-08-22 17:13:41 +02:00 committed by Dietmar Maurer
parent 958049cb52
commit 172978d27d
19 changed files with 0 additions and 22 deletions

View File

@ -105,7 +105,6 @@ Ext.define('PVE.node.CephDiskList', {
listeners: {
activate: rstore.startUpdate,
hide: rstore.stopUpdate,
destroy: rstore.stopUpdate
}
});

View File

@ -190,7 +190,6 @@ Ext.define('PVE.node.CephMonList', {
],
listeners: {
activate: rstore.startUpdate,
hide: rstore.stopUpdate,
destroy: rstore.stopUpdate
}
});

View File

@ -198,7 +198,6 @@ Ext.define('PVE.node.CephPoolList', {
tbar: [ create_btn, remove_btn ],
listeners: {
activate: rstore.startUpdate,
hide: rstore.stopUpdate,
destroy: rstore.stopUpdate
}
});

View File

@ -122,7 +122,6 @@ Ext.define('PVE.node.CephStatus', {
me.callParent();
me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);
}
});

View File

@ -69,7 +69,6 @@ Ext.define('PVE.dc.NodeView', {
],
listeners: {
show: rstore.startUpdate,
hide: rstore.stopUpdate,
destroy: rstore.stopUpdate
}
});
@ -130,9 +129,6 @@ Ext.define('PVE.dc.Summary', {
listeners: {
activate: function() {
nodegrid.fireEvent('show', nodegrid);
},
hide: function() {
nodegrid.fireEvent('hide', nodegrid);
}
}
});

View File

@ -131,7 +131,6 @@ Ext.define('PVE.dc.Tasks', {
listeners: {
itemdblclick: run_task_viewer,
show: taskstore.startUpdate,
hide: taskstore.stopUpdate,
destroy: taskstore.stopUpdate
}
});

View File

@ -61,7 +61,6 @@ Ext.define('PVE.ha.StatusView', {
me.callParent();
me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);
}

View File

@ -290,7 +290,6 @@ Ext.define('PVE.lxc.SnapshotTree', {
columnLines: true,
listeners: {
activate: me.reload,
hide: me.load_task.cancel,
destroy: me.load_task.cancel,
itemdblclick: run_editor
}

View File

@ -142,7 +142,6 @@ Ext.define('PVE.lxc.Summary', {
},
listeners: {
activate: function() { notesview.load(); rrdstore.startUpdate(); },
hide: rrdstore.stopUpdate,
destroy: rrdstore.stopUpdate
}
});

View File

@ -41,7 +41,6 @@ Ext.define('PVE.node.DNSView', {
me.callParent();
me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);
}
});

View File

@ -145,7 +145,6 @@ Ext.define('PVE.node.ServiceView', {
listeners: {
selectionchange: set_button_status,
activate: rstore.startUpdate,
hide: rstore.stopUpdate,
destroy: rstore.stopUpdate
}
});

View File

@ -142,7 +142,6 @@ Ext.define('PVE.node.Summary', {
},
listeners: {
activate: function() { rstore.startUpdate(); rrdstore.startUpdate(); },
hide: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); },
destroy: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); }
}
});

View File

@ -52,7 +52,6 @@ Ext.define('PVE.node.TimeView', {
me.callParent();
me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);
}
});

View File

@ -28,7 +28,6 @@ Ext.define('PVE.pool.Summary', {
});
me.on('activate', rstore.startUpdate);
me.on('hide', rstore.stopUpdate);
me.on('destroy', rstore.stopUpdate);
me.callParent();

View File

@ -527,7 +527,6 @@ Ext.define('PVE.qemu.HardwareView', {
me.callParent();
me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);
me.mon(me.rstore, 'refresh', function() {

View File

@ -402,7 +402,6 @@ Ext.define('PVE.qemu.Options', {
me.callParent();
me.on('activate', me.rstore.startUpdate);
me.on('hide', me.rstore.stopUpdate);
me.on('destroy', me.rstore.stopUpdate);
me.rstore.on('datachanged', function() {

View File

@ -290,7 +290,6 @@ Ext.define('PVE.qemu.SnapshotTree', {
columnLines: true, // will work in 4.1?
listeners: {
activate: me.reload,
hide: me.load_task.cancel,
destroy: me.load_task.cancel,
itemdblclick: run_editor
}

View File

@ -146,7 +146,6 @@ Ext.define('PVE.qemu.Summary', {
},
listeners: {
activate: function() {notesview.load(); rrdstore.startUpdate();},
hide: rrdstore.stopUpdate,
destroy: rrdstore.stopUpdate
}
});

View File

@ -50,7 +50,6 @@ Ext.define('PVE.storage.Summary', {
],
listeners: {
activate: function() { rstore.startUpdate(); rrdstore.startUpdate(); },
hide: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); },
destroy: function() { rstore.stopUpdate(); rrdstore.stopUpdate(); }
}
});