Title: [PATCH] Improve Test Email Settings button
Last modified: November 3, 2016

---

# [PATCH] Improve Test Email Settings button

 *  [Daedalon](https://wordpress.org/support/users/daedalon/)
 * (@daedalon)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/patch-improve-test-email-settings-button/)
 * Came across one way to improve the Test Email Settings button. The issue was 
   that if I click it once, it shows a text below it in response regarding whether
   things worked or not. When clicking it again, the status text should first disappear
   before reappearing to indicate that something is being done, and that the result
   displayed is the new one.
 * This can be done by changing line 445 of em-options.php from
 * `beforeSend: function(){ $('input#em-admin-check-email').val('<?php _e('Checking...','
   events-manager') ?>'); },`
 * to
 * `beforeSend: function(){ $('input#em-admin-check-email').val('<?php _e('Checking...','
   events-manager') ?>'); $('#em-email-settings-check-status').html(''); },`

Viewing 1 replies (of 1 total)

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/patch-improve-test-email-settings-button/#post-8393061)
 * Thanks for sharing your code. I’ll pass it along to the Dev team.

Viewing 1 replies (of 1 total)

The topic ‘[PATCH] Improve Test Email Settings button’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=1039078)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/patch-improve-test-email-settings-button/#post-8393061)
 * Status: not a support question