[pbs-devel] [PATCH proxmox-backup 3/3] ui: tape/window/Tape{Backup, Restore}: allow empty notify user field

Dominik Csapak d.csapak at proxmox.com
Mon Mar 8 14:10:51 CET 2021


we have to set skipEmptyText on comboGrids

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/tape/window/TapeBackup.js  | 1 +
 www/tape/window/TapeRestore.js | 1 +
 2 files changed, 2 insertions(+)

diff --git a/www/tape/window/TapeBackup.js b/www/tape/window/TapeBackup.js
index ca9d3b5f..b6a08bb5 100644
--- a/www/tape/window/TapeBackup.js
+++ b/www/tape/window/TapeBackup.js
@@ -56,6 +56,7 @@ Ext.define('PBS.TapeManagement.TapeBackupWindow', {
 	    emptyText: 'root at pam',
 	    value: null,
 	    allowBlank: true,
+	    skipEmptyText: true,
 	    renderer: Ext.String.htmlEncode,
 	},
     ],
diff --git a/www/tape/window/TapeRestore.js b/www/tape/window/TapeRestore.js
index 8d26e81e..abf3cf68 100644
--- a/www/tape/window/TapeRestore.js
+++ b/www/tape/window/TapeRestore.js
@@ -48,6 +48,7 @@ Ext.define('PBS.TapeManagement.TapeRestoreWindow', {
 	    emptyText: gettext('Current User'),
 	    value: null,
 	    allowBlank: true,
+	    skipEmptyText: true,
 	    renderer: Ext.String.htmlEncode,
 	},
     ],
-- 
2.20.1






More information about the pbs-devel mailing list