From ac4905b2c9943c6c720e16b4e67785973639c86a Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 15 Jun 2016 15:13:23 +0200 Subject: [PATCH] remove RAM column from lxc snapshottree (temporarily) since we cannot save the ram state for lxc containers currently, it makes no sense to display a column, where every entry is 'no' i left it there but commented it out, so that when we implement it, we just have to reenable the column Signed-off-by: Dominik Csapak --- www/manager6/lxc/SnapshotTree.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/www/manager6/lxc/SnapshotTree.js b/www/manager6/lxc/SnapshotTree.js index 9ee9f96b..33a560d8 100644 --- a/www/manager6/lxc/SnapshotTree.js +++ b/www/manager6/lxc/SnapshotTree.js @@ -248,18 +248,18 @@ Ext.define('PVE.lxc.SnapshotTree', { } } }, - { - text: gettext('RAM'), - align: 'center', - resizable: false, - dataIndex: 'vmstate', - width: 50, - renderer: function(value, metaData, record) { - if (record.data.name !== 'current') { - return PVE.Utils.format_boolean(value); - } - } - }, +// { +// text: gettext('RAM'), +// align: 'center', +// resizable: false, +// dataIndex: 'vmstate', +// width: 50, +// renderer: function(value, metaData, record) { +// if (record.data.name !== 'current') { +// return PVE.Utils.format_boolean(value); +// } +// } +// }, { text: gettext('Date') + "/" + gettext("Status"), dataIndex: 'snaptime',