]> git.proxmox.com Git - pmg-gui.git/commitdiff
add Task list
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 31 Jan 2017 10:32:48 +0000 (11:32 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 31 Jan 2017 10:32:48 +0000 (11:32 +0100)
Layout 'fit' is required to avoid an extjs6 bug:

https://www.sencha.com/forum/showthread.php?304363-Buffered-Store-Fatal-HasRange-Call

js/ServerAdministration.js
js/Workspace.js

index 62eded0178049f3963385b654d9a3429d1705d1f..80c5db7562cd2c97116a340c9a38f31b2598a6b1 100644 (file)
@@ -12,6 +12,12 @@ Ext.define('PMG.ServerAdministration', {
        {
             title: gettext('Updates'),
            html: "Server Administration2"
+       },
+       {
+           xtype: 'proxmoxNodeTasks',
+           title: gettext('Tasks'),
+           height: 'auto',
+           nodename: Proxmox.NodeName
        }
     ]
 });
index a89ac7af1329246f8be6347ed4421fa2fae52d17..7d0c5c8ed2e62b7d1c5017b5665483be1a509277 100644 (file)
@@ -213,6 +213,7 @@ Ext.define('PMG.StdWorkspace', {
                    minWidth: 100,
                    minHeight: 100,
                    id: 'content',
+                   defaults: { layout: 'fit' },
                    xtype: 'pmgPanelConfig',
                    items: [
                        {