Fix null object reference on editor.

This commit is contained in:
Paulo Gustavo Veiga 2012-12-02 21:59:21 -03:00
parent 765b1fc80e
commit 8b0465bda6

View File

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