summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-08-19 20:57:47 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2019-08-19 20:57:47 +0000
commitd1d82adca1dbb02382d7ccf49b8830816e8fa00f (patch)
treeba061c2b4c1f06cc67efcee7b85a3c8c25162905 /script
parent7aa4390a6702059342aad220e53e3aa4efc9caad (diff)
downloadPost-SMTP-d1d82adca1dbb02382d7ccf49b8830816e8fa00f.zip
Security issues
Diffstat (limited to 'script')
-rw-r--r--script/postman.js9
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 = {