diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-09-12 15:53:05 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-16 07:23:27 +0200 |
commit | 5dfaa0c82d93a075d063cc24ea4345a5943b0b1f (patch) | |
tree | a0c03e93c63ba5da169f3531f01d3378f8067cf6 /core/js/sharedialoglinkshareview.js | |
parent | f29b51682bc0be785e1a3e4e5901db3255e4a377 (diff) | |
download | nextcloud-server-5dfaa0c82d93a075d063cc24ea4345a5943b0b1f.tar.gz nextcloud-server-5dfaa0c82d93a075d063cc24ea4345a5943b0b1f.zip |
mark url on click
Diffstat (limited to 'core/js/sharedialoglinkshareview.js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index b94f1c3e70b..3e3ef2d5029 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -122,6 +122,11 @@ } }, + onLinkTextClick: function() { + this.focus(); + this.select(); + }, + render: function() { var linkShareTemplate = this.template(); @@ -172,6 +177,7 @@ })); this.$el.find('#linkCheckbox').change(this.onLinkCheckBoxChange); + this.$el.find('#linkText').click(this.onLinkTextClick); return this; }, |