diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2018-04-18 20:06:44 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2018-04-18 20:06:44 +0000 |
commit | 0bf9ab11082db7ee8feb2a2dc56829c4caf72913 (patch) | |
tree | e0e2f4d9859866998dde7fc88874568bbadda07e /script | |
parent | cfabde5bc30b3a23afad0e0c680658f5edff9236 (diff) | |
download | Post-SMTP-0bf9ab11082db7ee8feb2a2dc56829c4caf72913.zip |
* remove mailgun docs
* fix js error ($)
* fix mail function param
* script for dismiss "not configured.." message
git-svn-id: https://plugins.svn.wordpress.org/post-smtp/trunk@1860742 b8457f37-d9ea-0310-8a92-e5e31aec5664
Diffstat (limited to 'script')
-rw-r--r-- | script/postman.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/script/postman.js b/script/postman.js index 0ae1947..0134430 100644 --- a/script/postman.js +++ b/script/postman.js @@ -1,6 +1,19 @@ jQuery(document).ready(function($) { $( ".email-log-date" ).datepicker(); + $('.notice-dismiss.postman-release-message').on('click', function() { + var $this = $(this); + var args = { + action: 'dismiss_version_notify', + security: $this.data('security'), + version: $this.data('version'), + }; + + $.post(ajaxurl, args, function() { + $this.parent().slideUp(); + }); + }); + $('#postman_trash_all').on('click',function(e) { if (confirm("Are You Sure?") == false) { e.preventDefault(); |