diff options
author | yehuda <yehuda@myinbox.in> | 2019-05-16 12:15:39 +0300 |
---|---|---|
committer | yehuda <yehuda@myinbox.in> | 2019-05-16 12:15:39 +0300 |
commit | 6b0c4d5d97cac613ad8218fc9f0779eec63c28e3 (patch) | |
tree | 3ac2513ad5cb08650b03f55d837cf6b1d578dd21 /script/postman.js | |
parent | c88e7ad0b42cefd8fb7b509c8c2e355f567d9434 (diff) | |
parent | 09ad01149ef5981407149bc3c9502058482fb419 (diff) | |
download | Post-SMTP-6b0c4d5d97cac613ad8218fc9f0779eec63c28e3.zip |
Merge remote-tracking branch 'origin/dev'
Diffstat (limited to 'script/postman.js')
-rw-r--r-- | script/postman.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/script/postman.js b/script/postman.js index 0134430..edd33ac 100644 --- a/script/postman.js +++ b/script/postman.js @@ -14,6 +14,18 @@ jQuery(document).ready(function($) { }); }); + $('.post-smtp-donation .donation-dismiss').on('click', function() { + var $this = $(this); + var args = { + action: 'dismiss_donation_notify', + security: $this.data('security'), + }; + + $.post(ajaxurl, args, function() { + $this.parent().slideUp(); + }); + }); + $('#postman_trash_all').on('click',function(e) { if (confirm("Are You Sure?") == false) { e.preventDefault(); |