Minor Bug Fix
This commit is contained in:
parent
eb3d9f44a2
commit
f461d68114
1 changed files with 2 additions and 2 deletions
|
|
@ -164,13 +164,13 @@ FLUSH PRIVILEGES;</pre>
|
|||
$('form button[type="submit"]').click( function(e)
|
||||
{
|
||||
// Check DB Settings
|
||||
if( !db_valid || !testDatabase() ) {
|
||||
if( !db_valid && !testDatabase() ) {
|
||||
alert('Please check your Database Settings.');
|
||||
return false;
|
||||
}
|
||||
|
||||
// If Mail Settings are incorrect, prompt for continue
|
||||
if( !mail_valid || !testMail() ) {
|
||||
if( !mail_valid && !testMail() ) {
|
||||
var check = confirm("The mail settings are incomplete.\nAre you sure you want to continue?");
|
||||
if (!check) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue