summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-04 19:17:51 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-04 19:17:51 +0000
commit62b95f35576ea9b9178b900f9480fed0466211a2 (patch)
tree746cfdf1c0cdc8408b312870f881ed3684d8d60b /script
parenta83767b57bb15075e775f2336cfd77225b155799 (diff)
downloadPost-SMTP-62b95f35576ea9b9178b900f9480fed0466211a2.zip
notification & new gmail client
Diffstat (limited to 'script')
-rw-r--r--script/postman.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/script/postman.js b/script/postman.js
index 9c55b17..0ae1947 100644
--- a/script/postman.js
+++ b/script/postman.js
@@ -8,6 +8,17 @@ jQuery(document).ready(function($) {
return false;
}
});
+
+ $('.release-lock-file').on('click', function(e) {
+ e.preventDefault();
+
+ var security = $(this).data('security');
+
+ $.post(ajaxurl, {action: 'delete_lock_file', security: security}, function(result) {
+ alert(result);
+ });
+
+ });
});
var redirectUrlWarning = false;