mark url on click
This commit is contained in:
parent
f29b51682b
commit
5dfaa0c82d
|
@ -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 New Issue