← All changes
|
core/admin/exmpl-page-email-download_notification.php
+3
-3
2.0.13
→
2.1.21
View file →
| @@ -616,9 +616,9 @@ | ||
| 616 | 616 | |
| 617 | 617 | wpbm_open_meta_box_section( $submit_form_name . 'actions', __('Actions', 'booking-manager') ); |
| 618 | 618 | |
| 619 | 619 | ?><a class="button button-secondary" style="margin:0 0 5px;" href="javascript:void(0)" |
| 620 | - onclick="javascript: jQuery('#form_action').val('test_send'); jQuery('form#<?php echo $submit_form_name_action; ?>').submit();" | |
| 620 | + onclick="javascript: jQuery('#form_action').val('test_send'); jQuery('form#<?php echo $submit_form_name_action; ?>').trigger( 'submit' );" | |
| 621 | 621 | ><?php _e('Send Test Email', 'booking-manager'); ?></a><?php |
| 622 | 622 | |
| 623 | 623 | ?><input type="submit" value="<?php _e('Save Changes', 'booking-manager'); ?>" class="button button-primary right" style="margin:0 0 5px 5px;" /><?php |
| 624 | 624 | |
| @@ -628,9 +628,9 @@ | ||
| 628 | 628 | <a class="button button-secondary right" |
| 629 | 629 | href="javascript:void(0)" |
| 630 | 630 | onclick="javascript: if ( wpbm_are_you_sure('<?php echo esc_js(__('Do you really want to delete this item?', 'booking-manager')); ?>') ){ |
| 631 | 631 | jQuery('#form_action').val('delete'); |
| 632 | - jQuery('form#<?php echo $submit_form_name_action; ?>').submit(); | |
| 632 | + jQuery('form#<?php echo $submit_form_name_action; ?>').trigger( 'submit' ); | |
| 633 | 633 | }" |
| 634 | 634 | ><?php _e('Delete Email', 'booking-manager'); ?></a> |
| 635 | 635 | <?php */ |
| 636 | 636 | |
| @@ -714,9 +714,9 @@ | ||
| 714 | 714 | |
| 715 | 715 | if ( $email_result ) |
| 716 | 716 | wpbm_show_message ( __('Email sent to ', 'booking-manager') . ' ' . $this->mail_api()->get_from__email_address() , 5 ); |
| 717 | 717 | else |
| 718 | - wpbm_show_message ( __('Email had not sent. Some error occuered.', 'booking-manager'), 5 ,'error' ); | |
| 718 | + wpbm_show_message ( __('Email was not sent. An error occurred.', 'booking-manager'), 5 ,'error' ); | |
| 719 | 719 | } |
| 720 | 720 | |
| 721 | 721 | /* |
| 722 | 722 | if ( $_POST['form_action'] == 'create' ) { // Create |