From d8616185a83ada5c8bb1170ee8a2edbced1928a8 Mon Sep 17 00:00:00 2001 From: Jeramy Simpson Date: Thu, 26 Mar 2015 10:04:55 +1000 Subject: [PATCH] Comment out JS Validation Not quite working correctly. Will approch another time. --- resources/views/setup.blade.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/views/setup.blade.php b/resources/views/setup.blade.php index 29a3b3f639ba..bb982f7e9b7e 100644 --- a/resources/views/setup.blade.php +++ b/resources/views/setup.blade.php @@ -115,8 +115,7 @@ FLUSH PRIVILEGES; /* * 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; } // 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; } return true; - }); + });*/ // Prevent the Enter Button from working $("form").bind("keypress", function (e) {