Turn of the wail: true for adding to registrants collection
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 21 Dec 2017 21:46:52 +0000 (16:46 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 21 Dec 2017 21:46:52 +0000 (16:46 -0500)
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
js/views/front/regTime.js

index 2d956b0..2eea7df 100644 (file)
@@ -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();
index 791119a..150921a 100644 (file)
@@ -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();