diff --git a/package.json b/package.json index b7cb6f4cd..f8724efa8 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lodash.difference": "^4.1.2", "nodemon": "^1.9.2", "webgme": "^2.0.0", - "webgme-autoviz": "^2.1.1", + "webgme-autoviz": "dfst/webgme-autoviz", "webgme-breadcrumbheader": "^2.1.0", "webgme-chflayout": "^2.0.0", "webgme-easydag": "dfst/webgme-easydag", diff --git a/src/visualizers/panels/MainView/MainViewPanel.js b/src/visualizers/panels/MainView/MainViewPanel.js index 49fa2eb35..f794e84bc 100644 --- a/src/visualizers/panels/MainView/MainViewPanel.js +++ b/src/visualizers/panels/MainView/MainViewPanel.js @@ -66,7 +66,12 @@ define([ widget: this.widget }); - this.embeddedPanel.control.selectedObjectChanged(DeepForge.places.MyPipelines); + var controlObjectChanged = this.control.selectedObjectChanged; + this.control.selectedObjectChanged = () => { + this.embeddedPanel.control.selectedObjectChanged(DeepForge.places.MyPipelines); + return controlObjectChanged.apply(this.control, arguments); + }; + this.onActivate(); };