]> git.proxmox.com Git - pve-manager.git/commitdiff
let NotesView load itself
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 25 May 2018 08:31:54 +0000 (10:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 25 May 2018 09:04:08 +0000 (11:04 +0200)
instead of needing to load from the outside, let NotesView handle the
loading itself

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/lxc/Summary.js
www/manager6/panel/NotesView.js
www/manager6/qemu/Summary.js

index 47fb5b299839d5e213ae3ccd2e07763de6357a1b..3eb0689f0e201b33880144d7e668c1d684e64cad 100644 (file)
@@ -131,7 +131,6 @@ Ext.define('PVE.lxc.Summary', {
        });
 
        me.callParent();
-       me.down('#notesview').load();
        if (!template) {
            rrdstore.startUpdate();
            me.on('destroy', rrdstore.stopUpdate);
index e3194a264dcab76ad1759931bf2bd15673bfad60..b420d8c8cef572f6b757473151a8cecb656a8a3a 100644 (file)
@@ -74,5 +74,6 @@ Ext.define('PVE.panel.NotesView', {
        });
 
        me.callParent();
+       me.load();
     }
 });
index 65787461e6d11653d1712f433241d9403c987351..7810af032fe202294027a2d11e497b316ecc773b 100644 (file)
@@ -131,7 +131,6 @@ Ext.define('PVE.qemu.Summary', {
        });
 
        me.callParent();
-       me.down('#notesview').load();
        if (!template) {
            rrdstore.startUpdate();
            me.on('destroy', rrdstore.stopUpdate);