[pve-devel] [PATCH manager v3 5/5] dc/Backup: do not focus node selector on window focus
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Jul 25 16:27:00 CEST 2017
Do not focus anything here in the case he backup window gains focus
again. Else, if we click outside of the window the nodefield gets
always focused again - even if another field was focused previously.
This is a bit confusing, rather have no field focused at all -
especially as a blank value will be often used here.
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
changes v2 -> v3:
* added patch to this series
www/manager6/dc/Backup.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/manager6/dc/Backup.js b/www/manager6/dc/Backup.js
index f736b41f..235bea6f 100644
--- a/www/manager6/dc/Backup.js
+++ b/www/manager6/dc/Backup.js
@@ -2,6 +2,8 @@ Ext.define('PVE.dc.BackupEdit', {
extend: 'PVE.window.Edit',
alias: ['widget.pveDcBackupEdit'],
+ defaultFocus: undefined,
+
initComponent : function() {
var me = this;
--
2.11.0
More information about the pve-devel
mailing list