[pve-devel] [PATCH manager] better focus of lxc/MPEdit
Dominik Csapak
d.csapak at proxmox.com
Fri Apr 6 13:11:27 CEST 2018
this gives the focus to either the 'path' field
or to the 'X' tool (if it is a rootfs)
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/lxc/MPEdit.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager6/lxc/MPEdit.js b/www/manager6/lxc/MPEdit.js
index 37f725ea..cf8d6f02 100644
--- a/www/manager6/lxc/MPEdit.js
+++ b/www/manager6/lxc/MPEdit.js
@@ -324,6 +324,7 @@ Ext.define('PVE.lxc.MountPointEdit', {
Ext.apply(me, {
subject: subject,
+ defaultFocus: me.confid !== 'rootfs' ? 'textfield[name=mp]' : 'tool',
items: ipanel
});
--
2.11.0
More information about the pve-devel
mailing list