From 322b0ba13e6f7eabd765a935a3aea5f0d2f7957c Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 18 Nov 2012 20:17:16 -0300 Subject: [PATCH] Fix wrong debug transformation. --- mindplot/src/main/javascript/Designer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindplot/src/main/javascript/Designer.js b/mindplot/src/main/javascript/Designer.js index 6ae482a1..8613ae9f 100644 --- a/mindplot/src/main/javascript/Designer.js +++ b/mindplot/src/main/javascript/Designer.js @@ -697,7 +697,7 @@ mindplot.Designer = new Class({ var targetTopicId = model.getToNode(); var targetTopic = dmodel.findTopicById(targetTopicId); - $assert(targetTopic, "targetTopic could not be found:" + targetTopicId + dmodel.getTopics().forEach(function (e) { + $assert(targetTopic, "targetTopic could not be found:" + targetTopicId + dmodel.getTopics().map(function (e) { return e.getId() }));