From 8b0465bda636f31d757cb1bb0630f41631b61bbc Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sun, 2 Dec 2012 21:59:21 -0300 Subject: [PATCH] Fix null object reference on editor. --- mindplot/src/main/javascript/MultilineTextEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindplot/src/main/javascript/MultilineTextEditor.js b/mindplot/src/main/javascript/MultilineTextEditor.js index ff754d3c..5279a71f 100644 --- a/mindplot/src/main/javascript/MultilineTextEditor.js +++ b/mindplot/src/main/javascript/MultilineTextEditor.js @@ -191,7 +191,7 @@ mindplot.MultilineTextEditor = new Class({ // Set editor's initial size var displayFunc = function () { // Position the editor and set the size... - var textShape = this._topic.getTextShape(); + var textShape = topic.getTextShape(); textShape.positionRelativeTo(this._containerElem, { position:{x:'left', y:'top'}, edge:{x:'left', y:'top'}