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