From 2ce71f8c24909cc2e901a85d6ce433b1a0dd0667 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 1 May 2017 17:56:38 -0300 Subject: [PATCH] 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 --- core/js/sharedialoglinkshareview.js | 3 --- 1 file changed, 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!')) -- 2.39.5