diff --git a/mindplot/src/main/javascript/DesignerKeyboard.js b/mindplot/src/main/javascript/DesignerKeyboard.js index e914799b..712df716 100644 --- a/mindplot/src/main/javascript/DesignerKeyboard.js +++ b/mindplot/src/main/javascript/DesignerKeyboard.js @@ -236,7 +236,7 @@ mindplot.DesignerKeyboard = new Class({ } } } else { - var centralTopic = designer.getCentralTopic(); + var centralTopic = model.getCentralTopic(); this._goToNode(designer, centralTopic); } }.bind(this), @@ -256,7 +256,7 @@ mindplot.DesignerKeyboard = new Class({ } } } else { - var centralTopic = designer.getCentralTopic(); + var centralTopic = model.getCentralTopic(); this._goToNode(designer, centralTopic); } }.bind(this), @@ -268,7 +268,7 @@ mindplot.DesignerKeyboard = new Class({ this._goToBrother(designer, node, 'UP'); } } else { - var centralTopic = designer.getCentralTopic(); + var centralTopic = model.getCentralTopic(); this._goToNode(designer, centralTopic); } }.bind(this), @@ -280,7 +280,7 @@ mindplot.DesignerKeyboard = new Class({ this._goToBrother(designer, node, 'DOWN'); } } else { - var centralTopic = designer.getCentralTopic(); + var centralTopic = model.getCentralTopic(); this._goToNode(designer, centralTopic); } }.bind(this) @@ -331,7 +331,7 @@ mindplot.DesignerKeyboard = new Class({ }, _goToBrother:function (designer, node, direction) { - var brothers = node._parent.getChildren(); + var brothers = node.getParent().getChildren(); var target = node; var y = node.getPosition().y; var x = node.getPosition().x; @@ -394,8 +394,10 @@ mindplot.DesignerKeyboard = new Class({ }, _goToParent:function (designer, node) { - var parent = node._parent; - this._goToNode(designer, parent); + var parent = node.getParent(); + if (parent) { + this._goToNode(designer, parent); + } }, _goToChild:function (designer, node) { diff --git a/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties b/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties index b8f7e515..82cff558 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/classes/messages_es.properties @@ -146,7 +146,7 @@ WHAT_IS_NEW=Novedades WHAT_IS_NEW_DETAILS= THANKS_FOR_SIGN_UP=Graciar por registarse ! SIGN_UP_CONFIRMATION_EMAIL=You will receive a confirmation message shortly from WiseMapping. This message will ask you to activate your WiseMapping account.
Please select the link to activate and start creating and sharing maps. -SIGN_UP_SUCCESS=Su cuenta a sido creada exitosamente,haga click ac\u00e1 para ingresar y empezar a disfrutar de WiseMapping. +SIGN_UP_SUCCESS=Su cuenta ha sido creada exitosamente,haga click ac\u00e1 para ingresar y empezar a disfrutar de WiseMapping. ACCOUNT_DOES_NOT_EXISTS=El e-mail ingresado no pertenece a un usuario registrado o la cuenta no ha sido activada todav\u00eda. ACCOUNT_DOES_NOT_EXISTS_SUPPORT=Si el problema persiste, env\u00ede un e-mail a support@wisemapping.com SENDING=Enviando ...