Small fixes

This commit is contained in:
RainLoop Team 2015-05-05 20:41:15 +04:00
parent 3246b2c81f
commit 66c3307291
14 changed files with 105 additions and 31 deletions

View file

@ -202,6 +202,20 @@
}
};
/**
* @param {string} sKey
*/
AbstractApp.prototype.setClientSideToken = function (sKey)
{
if (window.__rlah_set)
{
window.__rlah_set(sKey);
require('Storage/Settings').settingsSet('AuthAccountHash', sKey);
require('Common/Links').populateAuthSuffix();
}
};
/**
* @param {boolean=} bAdmin = false
* @param {boolean=} bLogout = false