summaryrefslogtreecommitdiff
path: root/script/postman.js
diff options
context:
space:
mode:
Diffstat (limited to 'script/postman.js')
-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;