Fix password change in user management

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2016-11-30 13:36:37 +01:00
parent 542f1a7e0b
commit 0b4ff4f747
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A

View File

@ -701,6 +701,7 @@ $(document).ready(function () {
// remove highlight class from users without recovery ability
$tr.removeClass('row-warning');
};
blurFunction = _.bind(blurFunction, $input);
if(isRestoreDisabled) {
$tr.addClass('row-warning');
// add tipsy if the password change could cause data loss - no recovery enabled