MAPG-180 standardize form submit with AJAX

This commit is contained in:
bence committed 2020-06-25 22:35:04 +02:00
1 parent e4a51c139f
commit ec969167e4
12 files changed
+18 -148

No files matched your search

-7
View File
@@ -1,7 +0,0 @@
(function () {
var form = document.getElementById('accountForm');
MapGuesser.toggleFormSubmitButtonDisableOnChange(form, ['password_new', 'password_new_confirm'])
MapGuesser.setOnsubmitForForm(form);
})();
-5
View File
@@ -1,5 +0,0 @@
(function () {
var form = document.getElementById('deleteAccountForm');
MapGuesser.setOnsubmitForForm(form, '/');
})();