From 16ae3c9d6f33dc2f8f3c2a2ccc439e124a198355 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 21 Dec 2017 16:46:52 -0500 Subject: [PATCH] Turn of the wail: true for adding to registrants collection I see where adding an attendee and if you open another add attendee form while the model gets added to the collection it will re-render the regTime. --- 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 2d956b0..2eea7df 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 791119a..150921a 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