mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Fix null object reference on editor.
This commit is contained in:
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
Block a user