mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Comment out JS Validation
Not quite working correctly. Will approch another time.
This commit is contained in:
parent
b0421b8321
commit
d8616185a8
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user