summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
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 = {