File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -301,14 +301,14 @@ function enableOrDisableCustomLoginBoxHighlight() {
301301 function enableOrDisableSubmitLoginShell() {
302302 var newLoginShell = getNewLoginShell();
303303 if (!isLoginShellValid(newLoginShell)) {
304- $("#submitLoginShell").attr ("disabled", true);
304+ $("#submitLoginShell").prop ("disabled", true);
305305 return;
306306 }
307307 if (newLoginShell == ldapLoginShell) {
308- $("#submitLoginShell").attr ("disabled", true);
308+ $("#submitLoginShell").prop ("disabled", true);
309309 return;
310310 }
311- $("#submitLoginShell").attr ("disabled", false);
311+ $("#submitLoginShell").prop ("disabled", false);
312312 }
313313 $("#customLoginBox").on("input", enableOrDisableSubmitLoginShell);
314314 $("#loginSelector").change(enableOrDisableSubmitLoginShell);
You can’t perform that action at this time.
0 commit comments