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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2018-04-06 13:11:27 +02:00 committed by Dietmar Maurer
parent 3e4b78dc68
commit dc683ca068

View File

@ -324,6 +324,7 @@ Ext.define('PVE.lxc.MountPointEdit', {
Ext.apply(me, {
subject: subject,
defaultFocus: me.confid !== 'rootfs' ? 'textfield[name=mp]' : 'tool',
items: ipanel
});