From: Steve Sutton Date: Fri, 20 Oct 2017 18:03:03 +0000 (-0400) Subject: Remove the confirm for the continue button X-Git-Tag: v1.0.0^2~327 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1cac6b9e40797d2b3a6b97b212484c19f8e04c19;p=WP-Plugins%2Fglm-member-db-registrations.git Remove the confirm for the continue button Not needed. --- diff --git a/js/frontRegApp.js b/js/frontRegApp.js index 689b5a8..fbcb3fe 100644 --- a/js/frontRegApp.js +++ b/js/frontRegApp.js @@ -391,11 +391,7 @@ app.Views.Front.App = Backbone.View.extend({ }, continue: function(){ - // Confirm they are done and goto the next page - var isDone = confirm( 'Are you done?' ); - if ( isDone ) { - window.location.href = nextPageUrl; - } + window.location.href = nextPageUrl; }, }); diff --git a/js/views/front/app.js b/js/views/front/app.js index be928d8..8eeb9cd 100644 --- a/js/views/front/app.js +++ b/js/views/front/app.js @@ -28,11 +28,7 @@ app.Views.Front.App = Backbone.View.extend({ }, continue: function(){ - // Confirm they are done and goto the next page - var isDone = confirm( 'Are you done?' ); - if ( isDone ) { - window.location.href = nextPageUrl; - } + window.location.href = nextPageUrl; }, });