From: Steve Sutton Date: Thu, 21 Dec 2017 21:46:52 +0000 (-0500) Subject: Turn of the wail: true for adding to registrants collection X-Git-Tag: v1.0.0^2~141 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=16ae3c9d6f33dc2f8f3c2a2ccc439e124a198355;p=WP-Plugins%2Fglm-member-db-registrations.git 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. --- 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();