diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-02-21 12:29:49 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-02-21 12:30:29 +0100 |
commit | 798ecf76458b3204cca3841c6127770587cf2808 (patch) | |
tree | 5713aa9c1374ae73aba4e8522832286070ab476e /settings/src | |
parent | e5cc147d69c53504c0a6ede4e50be60eb697deb7 (diff) | |
download | nextcloud-server-798ecf76458b3204cca3841c6127770587cf2808.tar.gz nextcloud-server-798ecf76458b3204cca3841c6127770587cf2808.zip |
Focus new group input on show
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/src')
-rw-r--r-- | settings/src/views/Users.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/src/views/Users.vue b/settings/src/views/Users.vue index a1116749117..5963881b9b9 100644 --- a/settings/src/views/Users.vue +++ b/settings/src/views/Users.vue @@ -425,6 +425,10 @@ export default { } else { Vue.set(addGroup, 'action', function() { self.showAddGroupEntry = true + // focus input + Vue.nextTick(() => { + window.addgroup.querySelector('form > input[type="text"]').focus() + }) }) } groups.unshift(addGroup); |