Ariel Weinberger pushed to branch feature/CHANNELMGR-1274 at cms-community / hippo-addon-channel-manager
Commits: 53a97cb9 by Ariel Weinberger at 2017-09-19T16:44:57+02:00 CHANNELMGR-1274 Add missing 'ngInject' statements in choiceField and compoundField - - - - - 2 changed files: - frontend-ng/src/app/channel/sidePanels/rightSidePanel/fields/choiceField/choiceField.controller.js - frontend-ng/src/app/channel/sidePanels/rightSidePanel/fields/compoundField/compoundField.controller.js Changes: ===================================== frontend-ng/src/app/channel/sidePanels/rightSidePanel/fields/choiceField/choiceField.controller.js ===================================== --- a/frontend-ng/src/app/channel/sidePanels/rightSidePanel/fields/choiceField/choiceField.controller.js +++ b/frontend-ng/src/app/channel/sidePanels/rightSidePanel/fields/choiceField/choiceField.controller.js @@ -15,6 +15,10 @@ */ class ChoiceFieldCtrl { + constructor() { + 'ngInject'; + } + getFieldName(index) { return index > 0 ? `${this.name}[${index + 1}]` : `${this.name}`; } ===================================== frontend-ng/src/app/channel/sidePanels/rightSidePanel/fields/compoundField/compoundField.controller.js ===================================== --- a/frontend-ng/src/app/channel/sidePanels/rightSidePanel/fields/compoundField/compoundField.controller.js +++ b/frontend-ng/src/app/channel/sidePanels/rightSidePanel/fields/compoundField/compoundField.controller.js @@ -15,6 +15,10 @@ */ class CompoundFieldCtrl { + constructor() { + 'ngInject'; + } + focusCompound() { this.hasFocus = true; this.onFieldFocus(); View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/53a97cb9368d32407aa71df52ab46f3e6dd354b3 --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/53a97cb9368d32407aa71df52ab46f3e6dd354b3 You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn