File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -302,13 +302,16 @@ function enableOrDisableSubmitLoginShell() {
302
302
var newLoginShell = getNewLoginShell();
303
303
if (!isLoginShellValid(newLoginShell)) {
304
304
$("#submitLoginShell").prop("disabled", true);
305
+ $("#submitLoginShell").prop("title", "Invalid Login Shell");
305
306
return;
306
307
}
307
308
if (newLoginShell == ldapLoginShell) {
308
309
$("#submitLoginShell").prop("disabled", true);
310
+ $("#submitLoginShell").prop("title", "Login Shell Unchanged");
309
311
return;
310
312
}
311
313
$("#submitLoginShell").prop("disabled", false);
314
+ $("#submitLoginShell").prop("title", "Submit Login Shell");
312
315
}
313
316
$("#customLoginBox").on("input", enableOrDisableSubmitLoginShell);
314
317
$("#loginSelector").change(enableOrDisableSubmitLoginShell);
You can’t perform that action at this time.
0 commit comments