Fix null object reference on editor.
parent
765b1fc80e
commit
8b0465bda6
|
@ -191,7 +191,7 @@ mindplot.MultilineTextEditor = new Class({
|
||||||
// Set editor's initial size
|
// Set editor's initial size
|
||||||
var displayFunc = function () {
|
var displayFunc = function () {
|
||||||
// Position the editor and set the size...
|
// Position the editor and set the size...
|
||||||
var textShape = this._topic.getTextShape();
|
var textShape = topic.getTextShape();
|
||||||
textShape.positionRelativeTo(this._containerElem, {
|
textShape.positionRelativeTo(this._containerElem, {
|
||||||
position:{x:'left', y:'top'},
|
position:{x:'left', y:'top'},
|
||||||
edge:{x:'left', y:'top'}
|
edge:{x:'left', y:'top'}
|
||||||
|
|
Loading…
Reference in New Issue