summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorYehuda Hassine <yehuda@myinbox.in>2019-05-01 00:25:40 +0300
committerYehuda Hassine <yehuda@myinbox.in>2019-05-01 00:25:40 +0300
commit34356f6d27e564c0d0b687e6cb384e31219222b0 (patch)
tree31cc7bd49e881cc037eca7e2b877e9e9d3a4689f /script
parentee4e4461dc0c1ffffc00fbde9698dd379153aa8f (diff)
downloadPost-SMTP-34356f6d27e564c0d0b687e6cb384e31219222b0.zip
smtp mailer + bugs
Diffstat (limited to 'script')
-rw-r--r--script/postman.js12
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();