Comment out JS Validation

Not quite working correctly. Will approch another time.
This commit is contained in:
Jeramy Simpson 2015-03-26 10:04:55 +10:00
parent b0421b8321
commit d8616185a8

View File

@ -115,8 +115,7 @@ FLUSH PRIVILEGES;</pre>
/* /*
* TODO: * TODO:
* - Add Backup validation in the controllers * - Add JS Validation to DB and Mail
* - Add Notice if checking for validation after clicking Submit
* - Add Function to clear valid vars fields if they change a setting * - Add Function to clear valid vars fields if they change a setting
* - Add Nicer Error Message * - Add Nicer Error Message
* *
@ -166,7 +165,7 @@ FLUSH PRIVILEGES;</pre>
} }
// Validate Settings // Validate Settings
$('form button[type="submit"]').click( function(e) /*$('form button[type="submit"]').click( function(e)
{ {
// Check DB Settings // Check DB Settings
if( !db_valid && !testDatabase() ) { if( !db_valid && !testDatabase() ) {
@ -183,7 +182,7 @@ FLUSH PRIVILEGES;</pre>
} }
return true; return true;
}); });*/
// Prevent the Enter Button from working // Prevent the Enter Button from working
$("form").bind("keypress", function (e) { $("form").bind("keypress", function (e) {