Mark Lenser pushed to branch feature/visual-editing-psp1 at cms-community / hippo-addon-channel-manager
Commits: 52256916 by Mark at 2016-11-04T11:53:34+01:00 CHANNELMGR-972 remove for of to avoid ie11 issue - - - - - 8d5b1171 by Mark at 2016-11-04T12:09:59+01:00 CHANNELMGR-972 Merge branch 'feature/visual-editing-psp1' of code.onehippo.org:cms-community/hippo-addon-channel-manager into feature/visual-editing-psp1 - - - - - 1 changed file: - frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/fields.component.js Changes: ===================================== frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/fields.component.js ===================================== --- a/frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/fields.component.js +++ b/frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/fields.component.js @@ -36,12 +36,12 @@ export class ChannelFieldsCtrl { } let hasFocused = field.fields.findIndex(newField => newField.focused) !== -1; - for (const newField of field.fields) { + field.fields.forEach((newField) => { const childFieldHasFocused = this.hasFocusedField(newField); if (childFieldHasFocused) { hasFocused = true; } - } + }); return hasFocused; } View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/compare/7c1c3a54de1d1869064ab67acf1f29e792f01e6c...8d5b11715742f6945a68a0cff7715a242bdbf9ce
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn