Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/account/contact-info-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default Component.extend(FormMixin, {
actions: {
submit() {
this.onValid(() => {
this.submit();
this.sendAction('submit');
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/account/password-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default Component.extend(FormMixin, {
},
submit() {
this.onValid(() => {
this.changePassword({ passwordCurrent: this.passwordCurrent, passwordNew: this.passwordNew });
this.sendAction('changePassword', { passwordCurrent: this.passwordCurrent, passwordNew: this.passwordNew });
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/admin/content/pages-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default Component.extend(FormMixin, {
actions: {
submit(data) {
this.onValid(() => {
this.save(data);
this.sendAction('save', data);
});
},
deletePage(data) {
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/admin/content/social-links-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default Component.extend(FormMixin, {
actions: {
submit() {
this.onValid(() => {
this.save();
this.sendAction('save');
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/admin/settings/analytics-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Component from '@ember/component';
export default Component.extend({
actions: {
submit() {
this.save();
this.sendAction('save');
}
}
});
2 changes: 1 addition & 1 deletion app/components/forms/admin/settings/images-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default Component.extend(FormMixin, {
actions: {
submit() {
this.onValid(() => {
this.save();
this.sendAction('save');
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/admin/settings/microservices-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default Component.extend(FormMixin, {
actions: {
submit() {
this.onValid(() => {
this.save();
this.sendAction('save');
});
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export default Component.extend(FormMixin, {
'omiseLiveSecret' : null
});
}
this.save();
this.sendAction('save');
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/admin/settings/system-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default Component.extend(FormMixin, {
actions: {
submit() {
this.onValid(() => {
this.save();
this.sendAction('save');
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/events/view/create-access-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default Component.extend(FormMixin, {
},
submit(data) {
this.onValid(() => {
this.save(data);
this.sendAction('save', data);
});
},
copiedText() {
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/events/view/create-discount-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default Component.extend(FormMixin, {
},
submit(data) {
this.onValid(() => {
this.save(data);
this.sendAction('save', data);
});
},
copiedText() {
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/events/view/edit-session.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default Component.extend(FormMixin, {
actions: {
submit() {
this.onValid(() => {
this.save();
this.sendAction('save');
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/orders/order-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ export default Component.extend(FormMixin, {
const currentUser = this.data.user;
currentUser.set('firstName', this.buyerFirstName);
currentUser.set('lastName', this.buyerLastName);
this.save(data);
this.sendAction('save', data);
});
},
modifyHolder(holder) {
Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/register-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default Component.extend(FormMixin, {
this.onValid(() => {
this.set('errorMessage', null);
this.set('isLoading', true);
this.submit();
this.sendAction('submit');
});
},

Expand Down
2 changes: 1 addition & 1 deletion app/components/forms/session-speaker-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export default Component.extend(FormMixin, {
actions: {
submit() {
this.onValid(() => {
this.save();
this.sendAction('save');
});
},

Expand Down
2 changes: 1 addition & 1 deletion app/components/modals/add-system-role-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class AddSystemRoleModal extends ModalBase.extend(FormMixin) {
@action
addRole() {
this.onValid(() => {
this.addSystemRole();
this.sendAction('addSystemRole');
});
}

Expand Down
2 changes: 1 addition & 1 deletion app/components/modals/add-user-role-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class AddUserRoleModal extends ModalBase.extend(FormMixin) {
@action
addRole() {
this.onValid(() => {
this.updateUserRoles();
this.sendAction('updateUserRoles');
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default ModalBase.extend(FormMixin, {
addEventProperty(modelInstance, eventTopic) {
this.onValid(() => {
modelInstance.set('eventTopic', eventTopic);
this.addEventProperty(modelInstance);
this.sendAction('addEventProperty', modelInstance);
});
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default ModalBase.extend(FormMixin, {
actions: {
addEventProperty(modelInstance) {
this.onValid(() => {
this.addEventProperty(modelInstance);
this.sendAction('addEventProperty', modelInstance);
});
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default ModalBase.extend(FormMixin, {
actions: {
addEventProperty(modelInstance) {
this.onValid(() => {
this.addEventProperty(modelInstance);
this.sendAction('addEventProperty', modelInstance);
});
}
},
Expand Down
2 changes: 1 addition & 1 deletion app/components/modals/confirm-event-transfer-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default ModalBase.extend(FormMixin, {
actions: {
submit() {
this.onValid(() => {
this.transferEvent();
this.sendAction('transferEvent');
});
},
close() {
Expand Down