From 1caf9c3ce340981ae15e60065760f27a6d6ca091 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 21 Dec 2017 16:09:37 -0500 Subject: [PATCH] Update call to create registrant adding {wait:true} to the create call when adding a new attendee so it will wait until done before closing the form. --- js/frontRegApp.js | 2 +- js/views/front/regTime.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/frontRegApp.js b/js/frontRegApp.js index 2eea7df..2d956b0 100644 --- a/js/frontRegApp.js +++ b/js/frontRegApp.js @@ -1017,7 +1017,7 @@ app.Views.Front.RegTime = Backbone.View.extend({ zip: zip, country: country, customFields: customFieldData, - }); + }, {wait:true}); this.$('.glm-add-new-account').show(); this.newRegAccount.destroy(); diff --git a/js/views/front/regTime.js b/js/views/front/regTime.js index 150921a..791119a 100644 --- a/js/views/front/regTime.js +++ b/js/views/front/regTime.js @@ -124,7 +124,7 @@ app.Views.Front.RegTime = Backbone.View.extend({ zip: zip, country: country, customFields: customFieldData, - }); + }, {wait:true}); this.$('.glm-add-new-account').show(); this.newRegAccount.destroy(); -- 2.17.1