diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-05-01 17:56:38 -0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-05-01 17:58:12 -0300 |
commit | 2ce71f8c24909cc2e901a85d6ce433b1a0dd0667 (patch) | |
tree | e80d76846058bb09607e190ff02d21fb647a5b6b /core/js/sharedialoglinkshareview.js | |
parent | dba55f950a21802052698baa63713c2693078aa7 (diff) | |
download | nextcloud-server-2ce71f8c24909cc2e901a85d6ce433b1a0dd0667.tar.gz nextcloud-server-2ce71f8c24909cc2e901a85d6ce433b1a0dd0667.zip |
Fix "Copied" message for public links
* share a file/fodler by public link and click the
copy to clipboard icon and watch the tooltip
* before: it said "Copy"
* after: it now says "Copied" after clicking the button
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js/sharedialoglinkshareview.js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index 9368982d916..6b32484ab8e 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -177,9 +177,6 @@ var clipboard = new Clipboard('.clipboardButton'); clipboard.on('success', function(e) { - event.preventDefault(); - event.stopPropagation(); - var $input = $(e.trigger); $input.tooltip('hide') .attr('data-original-title', t('core', 'Copied!')) |