|
@@ -55,13 +55,14 @@ export class Drawer {
|
|
|
Selector.clear();
|
|
|
}
|
|
|
|
|
|
+ // Used to keep the list of object that is directly dependent of one object
|
|
|
addAggregator (aggregator) {
|
|
|
var auxE = "";
|
|
|
try { // To avoid 'TypeError: cyclic object value'
|
|
|
auxE += "1, "; //D
|
|
|
this.addAction(new Action(aggregator.genericObject)); // app/core/models/application/actions/action.js
|
|
|
auxE += "2, "; //D
|
|
|
- DrawerManager.addAggregator(aggregator);
|
|
|
+ DrawerManager.addAggregator(aggregator); // class DrawerManager in app/core/drawers/drawer-manager.js
|
|
|
} catch (error) {
|
|
|
console.log("drawer.js!addAggregator(aggregator): Error '" + error + "', with " + auxE);
|
|
|
}
|