diff --git a/assets/js/frontend/submission.js b/assets/js/frontend/submission.js index 8c54495c..ecdfa7d6 100755 --- a/assets/js/frontend/submission.js +++ b/assets/js/frontend/submission.js @@ -111,7 +111,7 @@ jQuery( document ).ready( function ( $ ) { $submit_btn.parents( 'form' ).on( 'submit', function () { submitFormFiles(); - return false; + // return false; } ); // Clicking Next button diff --git a/inc/submission/class-metabox-property-submission.php b/inc/submission/class-metabox-property-submission.php index 8f544e57..a9ea7cad 100755 --- a/inc/submission/class-metabox-property-submission.php +++ b/inc/submission/class-metabox-property-submission.php @@ -110,6 +110,12 @@ class Opalestate_Property_MetaBox_Submission { 'type' => 'wysiwyg', 'default' => ! empty( $post ) ? $post->post_content : '', 'before_row' => '
', + 'options' => [ + 'media_buttons' => false, + 'dfw' => true, + 'tinymce' => true, + 'quicktags' => true, + ], ], [ 'id' => $prefix . 'price', diff --git a/inc/submission/class-opalestate-submission.php b/inc/submission/class-opalestate-submission.php index 2b30dd37..5500868a 100755 --- a/inc/submission/class-opalestate-submission.php +++ b/inc/submission/class-opalestate-submission.php @@ -547,14 +547,14 @@ class OpalEstate_Submission { ] ); } } else { - return opalestate_output_msg_json( fales, + return opalestate_output_msg_json( false, __( 'Currently, your account was blocked, please keep contact admin to resolve this!.', 'opalestate-pro' ), [ 'heading' => esc_html__( 'Submission Information', 'opalestate-pro' ) ] ); } } - return opalestate_output_msg_json( fales, + return opalestate_output_msg_json( false, __( 'Sorry! Your submitted datcould not save a at this time', 'opalestate-pro' ), [ 'heading' => esc_html__( 'Submission Information', 'opalestate-pro' ) ] );