Tobias Jeger pushed to branch feature/cmng-psp1 at cms-community / 
hippo-addon-channel-manager


Commits:
60d424bc by Tobias Jeger at 2016-04-22T12:27:42+02:00
CHANNELMGR-331 Remove page structure log message

- - - - -


2 changed files:

- frontend-ng/src/angularjs/channel/hippoIframe/hippoIframe.controller.js
- frontend-ng/src/angularjs/channel/hippoIframe/hippoIframe.controller.spec.js


Changes:

=====================================
frontend-ng/src/angularjs/channel/hippoIframe/hippoIframe.controller.js
=====================================
--- a/frontend-ng/src/angularjs/channel/hippoIframe/hippoIframe.controller.js
+++ b/frontend-ng/src/angularjs/channel/hippoIframe/hippoIframe.controller.js
@@ -134,7 +134,6 @@ export class HippoIframeCtrl {
       iframeDom,
       
this.PageStructureService.registerParsedElement.bind(this.PageStructureService)
     );
-    this.PageStructureService.printParsedElements();
   }
 
   _updateChannelIfSwitched() {


=====================================
frontend-ng/src/angularjs/channel/hippoIframe/hippoIframe.controller.spec.js
=====================================
--- 
a/frontend-ng/src/angularjs/channel/hippoIframe/hippoIframe.controller.spec.js
+++ 
b/frontend-ng/src/angularjs/channel/hippoIframe/hippoIframe.controller.spec.js
@@ -116,7 +116,6 @@ describe('hippoIframeCtrl', () => {
     const deferred = $q.defer();
 
     spyOn(PageStructureService, 'clearParsedElements');
-    spyOn(PageStructureService, 'printParsedElements');
     spyOn(hstCommentsProcessorService, 'run');
     spyOn(PageMetaDataService, 'getChannelId').and.returnValue('channelX');
     spyOn(ChannelService, 'getId').and.returnValue('channelY');
@@ -128,7 +127,6 @@ describe('hippoIframeCtrl', () => {
     hippoIframeCtrl.onLoad();
 
     expect(PageStructureService.clearParsedElements).toHaveBeenCalled();
-    expect(PageStructureService.printParsedElements).toHaveBeenCalled();
     expect(hstCommentsProcessorService.run).toHaveBeenCalled();
     expect(hippoIframeCtrl._updateDragDrop).toHaveBeenCalled();
     expect(PageMetaDataService.getChannelId).toHaveBeenCalled();



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-addon-channel-manager/commit/60d424bccb77a5be783186a67f3131ed7d255f22
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to