From dc683ca068ba948ae82bb1a70c0f86f88fab38da Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 6 Apr 2018 13:11:27 +0200 Subject: [PATCH] better focus of lxc/MPEdit this gives the focus to either the 'path' field or to the 'X' tool (if it is a rootfs) Signed-off-by: Dominik Csapak --- 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 });