Skip to content

Commit

Permalink
Updated the selObjChanged to update pipeline list. Fixes #507 (#508)
Browse files Browse the repository at this point in the history
WIP #507 set webgme-autoviz to track master
  • Loading branch information
brollb authored Jul 16, 2016
1 parent fd48c1b commit fc3e146
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 6 additions & 1 deletion src/visualizers/panels/MainView/MainViewPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};

Expand Down

0 comments on commit fc3e146

Please sign in to comment.