Tooltip fix on status icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
1f3eef9460
commit
323dd31056
|
@ -1246,7 +1246,12 @@ MountConfigListView.prototype = _.extend({
|
|||
default:
|
||||
$statusSpan.attr('class', 'error icon-error-white');
|
||||
}
|
||||
$statusSpan.attr('data-original-title', (typeof message === 'string') ? message : '');
|
||||
if (typeof message === 'string') {
|
||||
$statusSpan.attr('title', message);
|
||||
$statusSpan.tooltip();
|
||||
} else {
|
||||
$statusSpan.tooltip('destroy');
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
<?php endif; ?>
|
||||
>
|
||||
<td class="status">
|
||||
<span title="<?php p($l->t('Click to recheck the configuration')); ?>"></span>
|
||||
<span data-placement="right" title="<?php p($l->t('Click to recheck the configuration')); ?>"></span>
|
||||
</td>
|
||||
<td class="mountPoint"><input type="text" name="mountPoint" value=""
|
||||
placeholder="<?php p($l->t('Folder name')); ?>">
|
||||
|
|
Loading…
Reference in New Issue