From 85804b74a4694a78b8ef6e79e62530f40498a157 Mon Sep 17 00:00:00 2001 From: Pablo Luna Date: Thu, 23 Dec 2010 12:18:47 -0300 Subject: [PATCH] fixing for each statment --- mindplot/src/main/javascript/MindmapDesigner.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mindplot/src/main/javascript/MindmapDesigner.js b/mindplot/src/main/javascript/MindmapDesigner.js index 45a11fea..cc48b115 100644 --- a/mindplot/src/main/javascript/MindmapDesigner.js +++ b/mindplot/src/main/javascript/MindmapDesigner.js @@ -1109,8 +1109,9 @@ mindplot.MindmapDesigner.prototype._getSelectedNodes = function() mindplot.MindmapDesigner.prototype.getSelectedRelationshipLines = function(){ var result = new Array(); - for each (var relationship in this._relationships) + for (var id in this._relationships) { + var relationship = this._relationships[id]; if (relationship.isOnFocus()) { result.push(relationship);