Skip to content

Commit 19cb5b9

Browse files
RA-1967 - Disable login button after submitting (#100)
1 parent 192f869 commit 19cb5b9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

omod/src/main/webapp/pages/login.gsp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@
108108
}
109109
}
110110
});
111-
111+
jQuery('form').on('submit', function() {
112+
jQuery('#loginButton').prop( "disabled", true );
113+
});
112114
jQuery('#username').focus();
113115
jQuery('a#cantLogin').click(function() {
114116
cannotLoginController.show();

0 commit comments

Comments
 (0)