Fix description when submit.
This commit is contained in:
parent
68482b2432
commit
1a12c56130
@ -111,7 +111,7 @@ jQuery( document ).ready( function ( $ ) {
|
||||
|
||||
$submit_btn.parents( 'form' ).on( 'submit', function () {
|
||||
submitFormFiles();
|
||||
return false;
|
||||
// return false;
|
||||
} );
|
||||
|
||||
// Clicking Next button
|
||||
|
@ -110,6 +110,12 @@ class Opalestate_Property_MetaBox_Submission {
|
||||
'type' => 'wysiwyg',
|
||||
'default' => ! empty( $post ) ? $post->post_content : '',
|
||||
'before_row' => '<hr>',
|
||||
'options' => [
|
||||
'media_buttons' => false,
|
||||
'dfw' => true,
|
||||
'tinymce' => true,
|
||||
'quicktags' => true,
|
||||
],
|
||||
],
|
||||
[
|
||||
'id' => $prefix . 'price',
|
||||
|
@ -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' ) ]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user