Add text on finish script

This commit is contained in:
Victor 2015-12-07 14:38:58 +02:00
parent 3670b546cd
commit 95186e8154
2 changed files with 5 additions and 1 deletions

View File

@ -92,7 +92,7 @@ Parser.prototype.statement = function() {
} }
if (this.match(token, TokenType.EOF)) { if (this.match(token, TokenType.EOF)) {
//ViewActivity.getInstance().finish(); ViewActivity.getInstance().finish();
return true; return true;
} }

View File

@ -38,6 +38,10 @@ Views.prototype.onTouch = function (e) {
this.parser.next(); this.parser.next();
}; };
Views.prototype.finish = function () {
this.text('{center}{html}<a style="color: white" href="/">Вернуться на главную</a>');
};
Views.prototype.windowShow = function (effect) { Views.prototype.windowShow = function (effect) {
if (this.windowTag.style.visibility !== "visible") { if (this.windowTag.style.visibility !== "visible") {
this.windowTag.style.visibility = "visible"; this.windowTag.style.visibility = "visible";