Merge pull request #17654 from burgha/feature/3866/uploaddetails
fix uploadprogressbar tooltip
This commit is contained in:
commit
29c008c962
1 changed files with 4 additions and 3 deletions
7
apps/files/js/operationprogressbar.js
Normal file → Executable file
7
apps/files/js/operationprogressbar.js
Normal file → Executable file
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue