Skip to content

Commit

Permalink
PR review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcanhelp committed May 29, 2018
1 parent 1fa71d7 commit 49e9c52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ jQuery(document).ready(function($) {
Initial setup
*/
$('.js-a0-setup-input').keydown(function(e){
// Do not submit the form if the enter key is pressed.
if(13 === e.keyCode) {
e.preventDefault();
return false;
Expand All @@ -126,7 +127,6 @@ jQuery(document).ready(function($) {
e.preventDefault();
$('#enterTokenModal').modal();
$('#connectionSelectedModal').modal('hide');
return false;
});

$('#automaticSetup').click(function (e) {
Expand Down
2 changes: 1 addition & 1 deletion templates/initial-setup/enterprise_connections.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</div>

<div class="a0-buttons">
<a href="https://manage.auth0.com/#/clients/<?php echo WP_Auth0_Options::Instance()->get('client_id'); ?>/connections" class="a0-button primary" target="_blank"><?php _e( "GO TO DASHBOARD", "wp-auth0" ); ?></a>
<a href="https://manage.auth0.com/#/applications/<?php echo WP_Auth0_Options::Instance()->get('client_id'); ?>/connections" class="a0-button primary" target="_blank"><?php _e( "GO TO DASHBOARD", "wp-auth0" ); ?></a>
<a href="<?php echo admin_url( 'admin.php?page=wpa0-setup&step=4' ); ?>"class="a0-button link"><?php _e( "Skip this step", "wp-auth0" ); ?></a>
</div>
</div>
Expand Down

0 comments on commit 49e9c52

Please sign in to comment.