diff options
Diffstat (limited to 'script/postman.js')
-rw-r--r-- | script/postman.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/script/postman.js b/script/postman.js index c6c0e98..9c55b17 100644 --- a/script/postman.js +++ b/script/postman.js @@ -1,5 +1,13 @@ jQuery(document).ready(function($) { $( ".email-log-date" ).datepicker(); + + $('#postman_trash_all').on('click',function(e) { + if (confirm("Are You Sure?") == false) { + e.preventDefault(); + + return false; + } + }); }); var redirectUrlWarning = false; |