use tooltip in user list

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
pull/3062/head
Christoph Wurst 10 years ago
parent 622101f2dd
commit c70b3f0e46
  1. 4
      settings/js/users/users.js

@ -704,9 +704,9 @@ $(document).ready(function () {
blurFunction = _.bind(blurFunction, $input);
if(isRestoreDisabled) {
$tr.addClass('row-warning');
// add tipsy if the password change could cause data loss - no recovery enabled
$input.tipsy({gravity:'s'});
// add tooltip if the password change could cause data loss - no recovery enabled
$input.attr('title', t('settings', 'Changing the password will result in data loss, because data recovery is not available for this user'));
$input.tooltip({placement:'bottom'});
}
$td.find('img').hide();
$td.children('span').replaceWith($input);

Loading…
Cancel
Save