Merge pull request #3062 from nextcloud/user-settings-tooltip
use tooltip in user list
This commit is contained in:
commit
c371e2f532
|
@ -704,9 +704,9 @@ $(document).ready(function () {
|
||||||
blurFunction = _.bind(blurFunction, $input);
|
blurFunction = _.bind(blurFunction, $input);
|
||||||
if(isRestoreDisabled) {
|
if(isRestoreDisabled) {
|
||||||
$tr.addClass('row-warning');
|
$tr.addClass('row-warning');
|
||||||
// add tipsy if the password change could cause data loss - no recovery enabled
|
// add tooltip if the password change could cause data loss - no recovery enabled
|
||||||
$input.tipsy({gravity:'s'});
|
|
||||||
$input.attr('title', t('settings', 'Changing the password will result in data loss, because data recovery is not available for this user'));
|
$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.find('img').hide();
|
||||||
$td.children('span').replaceWith($input);
|
$td.children('span').replaceWith($input);
|
||||||
|
|
Loading…
Reference in New Issue