update tooltip content dynamically
Signed-off-by: Hannes Burger <hburger30@gmail.com>
This commit is contained in:
parent
666ab67a8e
commit
e4c6d033e1
|
@ -63,9 +63,10 @@
|
||||||
$('#uploadprogressbar .ui-progressbar-value>em').addClass('inner');
|
$('#uploadprogressbar .ui-progressbar-value>em').addClass('inner');
|
||||||
$('#uploadprogressbar>em').replaceWith(labelHtml);
|
$('#uploadprogressbar>em').replaceWith(labelHtml);
|
||||||
$('#uploadprogressbar>em').addClass('outer');
|
$('#uploadprogressbar>em').addClass('outer');
|
||||||
$('#uploadprogressbar').tooltip({placement: 'bottom'});
|
$('#uploadprogressbar').tooltip({placement: 'bottom', container: '#uploadprogresswrapper'});
|
||||||
if(title) {
|
if (title) {
|
||||||
$('#uploadprogressbar').attr('data-original-title', title);
|
$('#uploadprogressbar').attr('data-original-title', title);
|
||||||
|
$('#uploadprogresswrapper .tooltip-inner').text(title);
|
||||||
}
|
}
|
||||||
if(textDesktop || textMobile) {
|
if(textDesktop || textMobile) {
|
||||||
$('#uploadprogresswrapper .stop').show();
|
$('#uploadprogresswrapper .stop').show();
|
||||||
|
|
Loading…
Reference in New Issue