summaryrefslogtreecommitdiff
path: root/Postman/Postman-Configuration/postman_wizard.js
diff options
context:
space:
mode:
authoryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-04 19:17:51 +0000
committeryehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664>2018-04-04 19:17:51 +0000
commite9a077a74215fb3e8e354403d2a9cbe93947001b (patch)
tree746cfdf1c0cdc8408b312870f881ed3684d8d60b /Postman/Postman-Configuration/postman_wizard.js
parentff0f11b11a728d9f4109b6989aa340f2f26a12e2 (diff)
downloadPost-SMTP-e9a077a74215fb3e8e354403d2a9cbe93947001b.zip
notification & new gmail client
git-svn-id: https://plugins.svn.wordpress.org/post-smtp/trunk@1852760 b8457f37-d9ea-0310-8a92-e5e31aec5664
Diffstat (limited to 'Postman/Postman-Configuration/postman_wizard.js')
-rw-r--r--Postman/Postman-Configuration/postman_wizard.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/Postman/Postman-Configuration/postman_wizard.js b/Postman/Postman-Configuration/postman_wizard.js
index 097fd65..8e1a68c 100644
--- a/Postman/Postman-Configuration/postman_wizard.js
+++ b/Postman/Postman-Configuration/postman_wizard.js
@@ -492,6 +492,26 @@ function handleConfigurationResponse(response) {
}
}
+
+ jQuery('select#input_notification_service').change(function() {
+ var selected = $( this ).val();
+
+ if ( selected == 'default' ) {
+ $('#slack_cred').fadeOut('fast');
+ $('#pushover_cred').fadeOut('fast');
+ }
+
+ if ( selected == 'pushover' ) {
+ $('#slack_cred').fadeOut('fast');
+ $('#pushover_cred').fadeIn();
+ }
+
+ if ( selected == 'slack' ) {
+ $('#pushover_cred').fadeOut('fast');
+ $('#slack_cred').fadeIn();
+ }
+ });
+
// add an event on the user port override field
jQuery('input.user_socket_override').change(function() {
userOverrideMenu();