- Minor fixes.

This commit is contained in:
Paulo Gustavo Veiga 2012-07-16 23:07:00 -03:00
parent 49677411c4
commit 98846768fe
2 changed files with 10 additions and 8 deletions

View File

@ -236,7 +236,7 @@ mindplot.DesignerKeyboard = new Class({
} }
} }
} else { } else {
var centralTopic = designer.getCentralTopic(); var centralTopic = model.getCentralTopic();
this._goToNode(designer, centralTopic); this._goToNode(designer, centralTopic);
} }
}.bind(this), }.bind(this),
@ -256,7 +256,7 @@ mindplot.DesignerKeyboard = new Class({
} }
} }
} else { } else {
var centralTopic = designer.getCentralTopic(); var centralTopic = model.getCentralTopic();
this._goToNode(designer, centralTopic); this._goToNode(designer, centralTopic);
} }
}.bind(this), }.bind(this),
@ -268,7 +268,7 @@ mindplot.DesignerKeyboard = new Class({
this._goToBrother(designer, node, 'UP'); this._goToBrother(designer, node, 'UP');
} }
} else { } else {
var centralTopic = designer.getCentralTopic(); var centralTopic = model.getCentralTopic();
this._goToNode(designer, centralTopic); this._goToNode(designer, centralTopic);
} }
}.bind(this), }.bind(this),
@ -280,7 +280,7 @@ mindplot.DesignerKeyboard = new Class({
this._goToBrother(designer, node, 'DOWN'); this._goToBrother(designer, node, 'DOWN');
} }
} else { } else {
var centralTopic = designer.getCentralTopic(); var centralTopic = model.getCentralTopic();
this._goToNode(designer, centralTopic); this._goToNode(designer, centralTopic);
} }
}.bind(this) }.bind(this)
@ -331,7 +331,7 @@ mindplot.DesignerKeyboard = new Class({
}, },
_goToBrother:function (designer, node, direction) { _goToBrother:function (designer, node, direction) {
var brothers = node._parent.getChildren(); var brothers = node.getParent().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;
@ -394,8 +394,10 @@ mindplot.DesignerKeyboard = new Class({
}, },
_goToParent:function (designer, node) { _goToParent:function (designer, node) {
var parent = node._parent; var parent = node.getParent();
this._goToNode(designer, parent); if (parent) {
this._goToNode(designer, parent);
}
}, },
_goToChild:function (designer, node) { _goToChild:function (designer, node) {

View File

@ -146,7 +146,7 @@ WHAT_IS_NEW=Novedades
WHAT_IS_NEW_DETAILS=<ul><li>Nueva interfaz</li><li>Soporte de FreeMind 0.9</li><li>Soporte HTML 5.0</li><li>Soporte de Firefox 12</li></ul> WHAT_IS_NEW_DETAILS=<ul><li>Nueva interfaz</li><li>Soporte de FreeMind 0.9</li><li>Soporte HTML 5.0</li><li>Soporte de Firefox 12</li></ul>
THANKS_FOR_SIGN_UP=Graciar por registarse ! 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.</br>Please select the link to activate and start creating and sharing maps. SIGN_UP_CONFIRMATION_EMAIL=You will receive a confirmation message shortly from WiseMapping. This message will ask you to activate your WiseMapping account.</br>Please select the link to activate and start creating and sharing maps.
SIGN_UP_SUCCESS=Su cuenta a sido creada exitosamente,haga click <a href\="c/login">ac\u00e1</a> para ingresar y empezar a disfrutar de WiseMapping. SIGN_UP_SUCCESS=Su cuenta ha sido creada exitosamente,haga click <a href\="c/login">ac\u00e1</a> 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=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 <a href\="mailto\:support@wisemapping.com">support@wisemapping.com </a> ACCOUNT_DOES_NOT_EXISTS_SUPPORT=Si el problema persiste, env\u00ede un e-mail a <a href\="mailto\:support@wisemapping.com">support@wisemapping.com </a>
SENDING=Enviando ... SENDING=Enviando ...