[pve-devel] [PATCH manager 07/10] make backupview stateful

Dominik Csapak d.csapak at proxmox.com
Tue Nov 8 10:50:48 CET 2016


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/grid/BackupView.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/manager6/grid/BackupView.js b/www/manager6/grid/BackupView.js
index ed26874..1646b28 100644
--- a/www/manager6/grid/BackupView.js
+++ b/www/manager6/grid/BackupView.js
@@ -5,6 +5,9 @@ Ext.define('PVE.grid.BackupView', {
 
     onlineHelp: 'chapter_vzdump',
 
+    stateful: true,
+    stateId: 'grid-guest-backup',
+
     initComponent : function() {
 	var me = this;
 
@@ -198,7 +201,6 @@ Ext.define('PVE.grid.BackupView', {
 	});
 
 	Ext.apply(me, {
-	    stateful: false,
 	    selModel: sm,
 	    tbar: [ backup_btn, restore_btn, delete_btn,config_btn, '->', storagesel, storagefilter ],
 	    columns: [
-- 
2.1.4





More information about the pve-devel mailing list