summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-17 09:12:19 +0100
committerGitHub <noreply@github.com>2019-11-17 09:12:19 +0100
commit29c008c962242facc630c76b7d249a5c18b0c880 (patch)
treeedfa29a5224340aa7025ccbbfcfa352ef9bd454c
parent30bdb0f35b4d6caf644a331d53b7cbda0ca5386f (diff)
parente4c6d033e1a44a04bae2953b1226e0660d9a80f4 (diff)
downloadnextcloud-server-29c008c962242facc630c76b7d249a5c18b0c880.tar.gz
nextcloud-server-29c008c962242facc630c76b7d249a5c18b0c880.zip
Merge pull request #17654 from burgha/feature/3866/uploaddetails
fix uploadprogressbar tooltip
-rwxr-xr-x[-rw-r--r--]apps/files/js/operationprogressbar.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files/js/operationprogressbar.js b/apps/files/js/operationprogressbar.js
index 1c054ec67b6..f1138163f1b 100644..100755
--- a/apps/files/js/operationprogressbar.js
+++ b/apps/files/js/operationprogressbar.js
@@ -63,9 +63,10 @@
$('#uploadprogressbar .ui-progressbar-value>em').addClass('inner');
$('#uploadprogressbar>em').replaceWith(labelHtml);
$('#uploadprogressbar>em').addClass('outer');
- $('#uploadprogressbar').tooltip({placement: 'bottom'});
- if(title) {
- $('#uploadprogressbar').attr('original-title', title);
+ $('#uploadprogressbar').tooltip({placement: 'bottom', container: '#uploadprogresswrapper'});
+ if (title) {
+ $('#uploadprogressbar').attr('data-original-title', title);
+ $('#uploadprogresswrapper .tooltip-inner').text(title);
}
if(textDesktop || textMobile) {
$('#uploadprogresswrapper .stop').show();