diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-06 10:31:48 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-06 10:32:00 +0100 |
commit | eeeb19079f3c6a8893f451ca8abb2f5d585390ed (patch) | |
tree | 13ef827f96ce86ce18bb7ce00b009134d79de3a7 /core/js/sharedialoglinkshareview.js | |
parent | 11b6c225959601330321733646e5957a374a8aec (diff) | |
download | nextcloud-server-eeeb19079f3c6a8893f451ca8abb2f5d585390ed.tar.gz nextcloud-server-eeeb19079f3c6a8893f451ca8abb2f5d585390ed.zip |
Add focus on pending popover opening
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js/sharedialoglinkshareview.js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index 5dc7d706720..4f4db0eec79 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -229,8 +229,8 @@ // We need a password before the share creation if (isPasswordEnforced && !this.showPending && this.password === '') { this.showPending = shareId; - this.render(); - $li.find('#enforcedPassText').focus(); + var self = this.render(); + self.$el.find('.pending #enforcedPassText').focus(); } else { // else, we have a password or it is not enforced $.when(this.model.saveLinkShare(shareData, { |