diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-08-19 20:57:47 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2019-08-19 20:57:47 +0000 |
commit | d1d82adca1dbb02382d7ccf49b8830816e8fa00f (patch) | |
tree | ba061c2b4c1f06cc67efcee7b85a3c8c25162905 /script | |
parent | 7aa4390a6702059342aad220e53e3aa4efc9caad (diff) | |
download | Post-SMTP-d1d82adca1dbb02382d7ccf49b8830816e8fa00f.zip |
Security issues
Diffstat (limited to 'script')
-rw-r--r-- | script/postman.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/script/postman.js b/script/postman.js index edd33ac..696414a 100644 --- a/script/postman.js +++ b/script/postman.js @@ -1,6 +1,15 @@ jQuery(document).ready(function($) { $( ".email-log-date" ).datepicker(); + $('.post-smtp-reset-options').on('submit', function(e) { + var result = confirm('Are you sure?'); + + if ( ! result ) { + e.preventDefault(); + return false; + } + }); + $('.notice-dismiss.postman-release-message').on('click', function() { var $this = $(this); var args = { |