Login bug solved (history.back)

This commit is contained in:
Juan Ferrer Toribio 2018-01-12 12:35:58 +01:00
parent e5d2bbc2f2
commit f20e2d65c3
4 changed files with 12 additions and 9 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.405.64) stable; urgency=low
hedera-web (1.405.65) stable; urgency=low
* Initial Release.

View File

@ -43,12 +43,15 @@ module.exports = new Class
{
this._freeLogin ();
if (this._gui)
return;
var gui = this._gui = new Gui ({conn: this._conn});
gui.on ('logout', this._onLogout, this);
gui.show ();
}
,_onLogout: function (gui)
,_onLogout: function ()
{
this.clearAutoLogin ();
this._freeGui ();
@ -100,7 +103,7 @@ module.exports = new Class
this._gui.logout ();
}
,_newVersion: function (error)
,_newVersion: function ()
{
if (this.ignoreVersion)
return;
@ -126,10 +129,10 @@ module.exports = new Class
Htk.Toast.showError (_('Something went wrong'));
var params = {
'file': error.fileName
,'line': error.lineNumber
,'message': error.message
,'stack': error.stack
file: error.fileName
,line: error.lineNumber
,message: error.message
,stack: error.stack
};
this._conn.send ('core/log', params);
}

View File

@ -44,7 +44,7 @@ module.exports = new Class
this.$('spinner').stop ();
}
,show: function (firstLogin)
,show: function ()
{
document.body.appendChild (this.node);

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "1.405.64",
"version": "1.405.65",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {