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'}