this.$('.glm-add-new-account').hide();
// Create the new Registrant View
if ( app.timeSpecific ) {
- this.newRegAccount = new app.Models.Front.RegRequestRegistrant({ reg_time: this.model.get( 'selectedTime' ) });
+ this.newRegAccount = new app.Models.Front.RegRequestRegistrant({
+ reg_time: this.model.get( 'selectedTime' ),
+ reg_event: this.model.get('reg_event'),
+ reg_class: this.model.get( 'parent' )
+ });
} else {
this.newRegAccount = new app.Models.Front.RegRequestRegistrant({
reg_event: this.model.get('reg_event'),
this.$('.glm-add-new-account').hide();
// Create the new Registrant View
if ( app.timeSpecific ) {
- this.newRegAccount = new app.Models.Front.RegRequestRegistrant({ reg_time: this.model.get( 'selectedTime' ) });
+ this.newRegAccount = new app.Models.Front.RegRequestRegistrant({
+ reg_time: this.model.get( 'selectedTime' ),
+ reg_event: this.model.get('reg_event'),
+ reg_class: this.model.get( 'parent' )
+ });
} else {
this.newRegAccount = new app.Models.Front.RegRequestRegistrant({
reg_event: this.model.get('reg_event'),