diff options
author | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2018-04-17 05:33:53 +0000 |
---|---|---|
committer | yehudah <yehudah@b8457f37-d9ea-0310-8a92-e5e31aec5664> | 2018-04-17 05:33:53 +0000 |
commit | a09ee0623a67f6e8596929cb008e6c91e31a713f (patch) | |
tree | 355ab4b11a9f637e441bc17a59c35be497c0613a /Postman/Postman-Configuration | |
parent | 62b95f35576ea9b9178b900f9480fed0466211a2 (diff) | |
download | Post-SMTP-a09ee0623a67f6e8596929cb008e6c91e31a713f.zip |
* Gmail attahments
* Server name loginc (phpmailer)
* Slack notification field bug
Diffstat (limited to 'Postman/Postman-Configuration')
-rw-r--r-- | Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php | 2 | ||||
-rw-r--r-- | Postman/Postman-Configuration/postman_wizard.js | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php b/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php index 1daedf2..ecd7ec3 100644 --- a/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php +++ b/Postman/Postman-Configuration/PostmanRegisterConfigurationSettings.php @@ -424,7 +424,7 @@ class PostmanSettingsRegistry { } public function slack_token_callback() { - printf( '<input type="password" id="slack_token" name="%s[%s]" value="%s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::SLACK_TOKEN, $this->options->getPushoverToken() ); + printf( '<input type="password" id="slack_token" name="%s[%s]" value="%s" />', PostmanOptions::POSTMAN_OPTIONS, PostmanOptions::SLACK_TOKEN, $this->options->getSlackToken() ); echo '<a target="_blank" href="https://slack.postmansmtp.com/">' . __( 'Get your webhook URL here', Postman::TEXT_DOMAIN ) . '</a>'; } diff --git a/Postman/Postman-Configuration/postman_wizard.js b/Postman/Postman-Configuration/postman_wizard.js index 8e1a68c..c29edb4 100644 --- a/Postman/Postman-Configuration/postman_wizard.js +++ b/Postman/Postman-Configuration/postman_wizard.js @@ -494,21 +494,21 @@ function handleConfigurationResponse(response) { } jQuery('select#input_notification_service').change(function() { - var selected = $( this ).val(); + var selected = jQuery( this ).val(); if ( selected == 'default' ) { - $('#slack_cred').fadeOut('fast'); - $('#pushover_cred').fadeOut('fast'); + jQuery('#slack_cred').fadeOut('fast'); + jQuery('#pushover_cred').fadeOut('fast'); } if ( selected == 'pushover' ) { - $('#slack_cred').fadeOut('fast'); - $('#pushover_cred').fadeIn(); + jQuery('#slack_cred').fadeOut('fast'); + jQuery('#pushover_cred').fadeIn(); } if ( selected == 'slack' ) { - $('#pushover_cred').fadeOut('fast'); - $('#slack_cred').fadeIn(); + jQuery('#pushover_cred').fadeOut('fast'); + jQuery('#slack_cred').fadeIn(); } }); |