fixing for each statment

This commit is contained in:
Pablo Luna 2010-12-23 12:18:47 -03:00
parent 96e66bf826
commit 85804b74a4

View File

@ -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);