mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
mark url on click
This commit is contained in:
parent
f29b51682b
commit
5dfaa0c82d
2 changed files with 6 additions and 5 deletions
|
|
@ -956,11 +956,6 @@ $(document).ready(function() {
|
|||
permissions);
|
||||
});
|
||||
|
||||
$(document).on('click', '#dropdown #linkText', function() {
|
||||
$(this).focus();
|
||||
$(this).select();
|
||||
});
|
||||
|
||||
// Handle the Allow Public Upload Checkbox
|
||||
$(document).on('click', '#sharingDialogAllowPublicUpload', function() {
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue