| @@ -595,9 +595,9 @@ | ||
| 595 | 595 | |
| 596 | 596 | wpbm_open_meta_box_section( $submit_form_name . 'actions', __('Actions', 'booking-manager') ); |
| 597 | 597 | |
| 598 | 598 | ?><a class="button button-secondary" style="margin:0 0 5px;" href="javascript:void(0)" |
| 599 | - onclick="javascript: jQuery('#form_action').val('test_send'); jQuery('form#<?php echo $submit_form_name_action; ?>').submit();" | |
| 599 | + onclick="javascript: jQuery('#form_action').val('test_send'); jQuery('form#<?php echo $submit_form_name_action; ?>').trigger( 'submit' );" | |
| 600 | 600 | ><?php _e('Send Test Email', 'booking-manager'); ?></a><?php |
| 601 | 601 | |
| 602 | 602 | ?><input type="submit" value="<?php _e('Save Changes', 'booking-manager'); ?>" class="button button-primary right" style="margin:0 0 5px 5px;" /><?php |
| 603 | 603 | |
| @@ -607,9 +607,9 @@ | ||
| 607 | 607 | <a class="button button-secondary right" |
| 608 | 608 | href="javascript:void(0)" |
| 609 | 609 | onclick="javascript: if ( wpbm_are_you_sure('<?php echo esc_js(__('Do you really want to delete this item?', 'booking-manager')); ?>') ){ |
| 610 | 610 | jQuery('#form_action').val('delete'); |
| 611 | - jQuery('form#<?php echo $submit_form_name_action; ?>').submit(); | |
| 611 | + jQuery('form#<?php echo $submit_form_name_action; ?>').trigger( 'submit' ); | |
| 612 | 612 | }" |
| 613 | 613 | ><?php _e('Delete Email', 'booking-manager'); ?></a> |
| 614 | 614 | <?php */ |
| 615 | 615 | |