mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Focus new group input on show
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
e5cc147d69
commit
798ecf7645
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue