diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/postman.js | 11 |
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; |