diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-22 15:04:23 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-22 15:45:37 +0100 |
commit | 323dd310568447f3c63b8d9128c75a18a75c3527 (patch) | |
tree | 8296d451f9695be21e6a4b21f303cc04b28d96f2 | |
parent | 1f3eef94609b728179fe29084939931ecbd94df0 (diff) | |
download | nextcloud-server-323dd310568447f3c63b8d9128c75a18a75c3527.tar.gz nextcloud-server-323dd310568447f3c63b8d9128c75a18a75c3527.zip |
Tooltip fix on status icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
-rw-r--r-- | apps/files_external/js/settings.js | 7 | ||||
-rw-r--r-- | apps/files_external/templates/settings.php | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 7f56fd4bb73..b0f71c03245 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -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'); + } }, /** diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php index 98498eb2c35..1fb3245c6d6 100644 --- a/apps/files_external/templates/settings.php +++ b/apps/files_external/templates/settings.php @@ -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')); ?>"> |