]> git.proxmox.com Git - pve-manager.git/commitdiff
drop all hide calls
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 22 Aug 2016 15:13:41 +0000 (17:13 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 24 Aug 2016 10:46:47 +0000 (12:46 +0200)
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>
19 files changed:
www/manager6/ceph/Disks.js
www/manager6/ceph/Monitor.js
www/manager6/ceph/Pool.js
www/manager6/ceph/Status.js
www/manager6/dc/Summary.js
www/manager6/dc/Tasks.js
www/manager6/ha/StatusView.js
www/manager6/lxc/SnapshotTree.js
www/manager6/lxc/Summary.js
www/manager6/node/DNSView.js
www/manager6/node/ServiceView.js
www/manager6/node/Summary.js
www/manager6/node/TimeView.js
www/manager6/pool/Summary.js
www/manager6/qemu/HardwareView.js
www/manager6/qemu/Options.js
www/manager6/qemu/SnapshotTree.js
www/manager6/qemu/Summary.js
www/manager6/storage/Summary.js

index 47b08bdb5bc027101ce31d393424eac58aa77e01..b0167888f746b2b4116789cd34b15b2664df4bb9 100644 (file)
@@ -105,7 +105,6 @@ Ext.define('PVE.node.CephDiskList', {
 
            listeners: {
                activate: rstore.startUpdate,
-               hide: rstore.stopUpdate,
                destroy: rstore.stopUpdate
            }
        });
index acfd2cc9982a00fb43e0762f4f70b9baacde03c8..1c8b6cfcb114fd43ef3cea271fae36b14661e868 100644 (file)
@@ -190,7 +190,6 @@ Ext.define('PVE.node.CephMonList', {
            ],
            listeners: {
                activate: rstore.startUpdate,
-               hide: rstore.stopUpdate,
                destroy: rstore.stopUpdate
            }
        });
index 9f203e3ffe4d8b1e9dd1ae20577c310cbcf0c883..8aaf5c9746714f241a38fd1538e23f07b049d5a2 100644 (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
            }
        });
index 495bd42ca5a34812f004b2d87f429bc43b59f76b..171cc2af7942e3e6644cbd05bd45f5af124e8ca4 100644 (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);
     }
 });
index fae8e3686b30029f4d308f37fc4d943ab7fff37c..11d6ba08583ce1eceac59c0812e92da475e177c6 100644 (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);
                }
            }
        });
index 58d09a5f24381be246d4316935ea56fd9777c0fb..ad9a22ca8cc252e12f039ab68bcf783b60924b29 100644 (file)
@@ -131,7 +131,6 @@ Ext.define('PVE.dc.Tasks', {
            listeners: {
                itemdblclick: run_task_viewer,
                show: taskstore.startUpdate,
-               hide: taskstore.stopUpdate,
                destroy: taskstore.stopUpdate
            }
        });
index a69b34ce71d9f89701ebeb0e8fe4bf40b065d276..1032fab3f9a4bd598dd203b30d2a4ccd32d9c394 100644 (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); 
 
     }
index 33a560d8b94c676c9cb51ad381b10670469d36db..116449594c3b76e2ceaffbf9dd9a1ff0edba42f4 100644 (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
            }
index f93f5f7f2332162f01c54a8cbbc0d32355657f71..8d14c949ce9a3d61d4c4035a3c8100760ef4abb6 100644 (file)
@@ -142,7 +142,6 @@ Ext.define('PVE.lxc.Summary', {
                },
                listeners: {
                    activate: function() { notesview.load(); rrdstore.startUpdate(); },
-                   hide: rrdstore.stopUpdate,
                    destroy: rrdstore.stopUpdate
                }
            });
index 9eacdc71e306fd8177b0bc2eae063ea638946018..07c479bce81e0a6ef2fc87c25f77acda0247c4f4 100644 (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); 
     }
 });
index dab98935a2c74612d14b6716de8caf843596c2df..c183748365cf6a16f2b2af69b9006614350cdc44 100644 (file)
@@ -145,7 +145,6 @@ Ext.define('PVE.node.ServiceView', {
            listeners: {
                selectionchange: set_button_status,
                activate: rstore.startUpdate,
-               hide: rstore.stopUpdate,
                destroy: rstore.stopUpdate
            }
        });
index 123179679cb53fa1998445fe73fd0e9ac5d677f6..92e05518bfde41439cd76008c1b9fef9f1037976 100644 (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(); }
            }
        });
index f706f11043415512f7d668b1ca4cec4617631b96..20c8310618e2c577fcdef764b38e6c2df948a632 100644 (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); 
     }
 });
index 97ae33e71261fc6fb252680f33f4172b56719859..47c0c7ac7193a93d1a67b62d4e5abe65940ae2b0 100644 (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();
index 5fe041003ad9a36f47058b077560821e7fc04dac..3ed80ff7aaf6b03f96df7ac7387594ff691dce98 100644 (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() {
index 9f2bd072034b19d006995d98b6760a546cf53b15..f60654d6e05d48d52847bf12f2aaec0e4205a0d5 100644 (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() {
index e58012490f90e30d9b9fb1c2d5744ec73bf7fe2d..266ecf4b9b865d4a4a05ebcfc85b4628be31484d 100644 (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
            }
index 64164fc59fa7520047fff846fe1bd9b5c2fa31fd..67b740a3c7a202a0f05e36ba75e16f394e75daab 100644 (file)
@@ -146,7 +146,6 @@ Ext.define('PVE.qemu.Summary', {
                },
                listeners: {
                    activate: function() {notesview.load(); rrdstore.startUpdate();},
-                   hide: rrdstore.stopUpdate,
                    destroy: rrdstore.stopUpdate
                }
            });
index 43b1b028ab577b66f41469e91cd4344ce349e97f..7f0e4df70ddc309fce48172630eb2652d0a30082 100644 (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(); }
            }
        });