mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-26 15:54:55 +01:00
- Bug Cannot call method 'getChildren' of null, line:1955 fixed.
This commit is contained in:
parent
ca37d3f384
commit
bcc5676b49
@ -335,7 +335,10 @@ mindplot.DesignerKeyboard = new Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
_goToBrother:function (designer, node, direction) {
|
_goToBrother:function (designer, node, direction) {
|
||||||
var brothers = node.getParent().getChildren();
|
var parent = node.getParent();
|
||||||
|
if (parent) {
|
||||||
|
var brothers = parent.getChildren();
|
||||||
|
|
||||||
var target = node;
|
var target = node;
|
||||||
var y = node.getPosition().y;
|
var y = node.getPosition().y;
|
||||||
var x = node.getPosition().x;
|
var x = node.getPosition().x;
|
||||||
@ -368,6 +371,7 @@ mindplot.DesignerKeyboard = new Class({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this._goToNode(designer, target);
|
this._goToNode(designer, target);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user