diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-10-26 12:49:52 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-10-26 12:49:52 +0100 |
commit | c64fb46fbf1deab67ffc958584c04357582f8a28 (patch) | |
tree | 588b7d45c89a0b4b7fe759377368daf39512e91e /core/js/sharedialoglinkshareview.js | |
parent | 7e3b4754f62ae19f162653a3bd17cd2b1e217006 (diff) | |
download | nextcloud-server-c64fb46fbf1deab67ffc958584c04357582f8a28.tar.gz nextcloud-server-c64fb46fbf1deab67ffc958584c04357582f8a28.zip |
Fix share link focus on click
Clicking on the link share must focus and select it
Diffstat (limited to 'core/js/sharedialoglinkshareview.js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index beb8b01c8a8..74afbc9fe02 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -151,8 +151,9 @@ }, onLinkTextClick: function() { - this.focus(); - this.select(); + var $el = this.$el.find('.linkText'); + $el.focus(); + $el.select(); }, onShowPasswordClick: function() { |