← All changes
|
classes/controllers/FrmEntriesAJAXSubmitController.php
+1
-3
6.29
→
trunk
View file →
| @@ -53,11 +53,9 @@ | ||
| 53 | 53 | echo json_encode( $response ); |
| 54 | 54 | wp_die(); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - $is_ajax_on = FrmForm::is_ajax_on( $form ); | |
| 58 | - | |
| 59 | - if ( ! $is_ajax_on ) { | |
| 57 | + if ( ! FrmForm::is_ajax_on( $form ) ) { | |
| 60 | 58 | // This continues in the Pro version as it is required for other features including in-place edit. |
| 61 | 59 | // In Lite, if AJAX submit is not on, just exit early as this function is getting called incorrectly. |
| 62 | 60 | echo json_encode( $response ); |
| 63 | 61 | wp_die(); |