|
@@ -23,7 +23,10 @@ export class ActionManager {
|
|
|
}
|
|
|
|
|
|
push (action) {
|
|
|
- console.log("action-manager.js!push(action): action=" + JSON.stringify(action));
|
|
|
+ // "TypeError: cyclic object value" : console.log("action-manager.js!push(action): action=" + JSON.stringify(action));
|
|
|
+ var aux = "action(id,type,definition,label,genericObject)=" + (action && action!=undefined ?
|
|
|
+ "(" + action.id + "," + action.type + ",'" + action.definition + "','" + action.label + "'," + action.genericObject + ")" : "<empty>");
|
|
|
+ console.log("action-manager.js!push(action): " + aux);
|
|
|
this.actions.push(action); // "action" is JSON like: {"id":2,"type":0,"definition":... ,"elementClass":0}
|
|
|
}
|
|
|
|