this.listenTo( this.model.registrants, 'add', this.addOne );
// this.listenTo( this.model.registrants, 'create', this.render );
this.listenTo( this.model.registrants, 'remove', this.deleteOne );
- this.listenTo( this.model, 'change', this.render );
- this.listenTo( this.model.registrants, 'change', this.render );
+ // this.listenTo( this.model, 'change', this.render );
+ // this.listenTo( this.model.registrants, 'change', this.render );
return this;
},
});
var accountContainer = this.$('.reg-class-accounts');
accountContainer.append(view);
+ app.regEventLock = false;
return this;
},
zip: zip,
country: country,
customFields: customFieldData,
- });
+ },{wait: true});
this.$('.glm-add-new-account').show();
this.newRegAccount.destroy();
console.log( 'regTime: addOne called' );
// console.log( item.get('id') );
this.model.set({selectedTime: item.get('reg_time') })
- // this.render();
+ this.render();
},
// delete a registrant in collection
this.listenTo( this.model.registrants, 'add', this.addOne );
// this.listenTo( this.model.registrants, 'create', this.render );
this.listenTo( this.model.registrants, 'remove', this.deleteOne );
- this.listenTo( this.model, 'change', this.render );
- this.listenTo( this.model.registrants, 'change', this.render );
+ // this.listenTo( this.model, 'change', this.render );
+ // this.listenTo( this.model.registrants, 'change', this.render );
return this;
},
});
var accountContainer = this.$('.reg-class-accounts');
accountContainer.append(view);
+ app.regEventLock = false;
return this;
},
zip: zip,
country: country,
customFields: customFieldData,
- });
+ },{wait: true});
this.$('.glm-add-new-account').show();
this.newRegAccount.destroy();
console.log( 'regTime: addOne called' );
// console.log( item.get('id') );
this.model.set({selectedTime: item.get('reg_time') })
- // this.render();
+ this.render();
},
// delete a registrant in collection