Admin Panel localization (#467)

This commit is contained in:
RainLoop Team 2015-03-28 02:06:56 +04:00
parent 470b3645e2
commit 3dac6809d1
46 changed files with 1111 additions and 561 deletions

View file

@ -203,10 +203,11 @@
};
/**
* @param {boolean=} bAdmin = false
* @param {boolean=} bLogout = false
* @param {boolean=} bClose = false
*/
AbstractApp.prototype.loginAndLogoutReload = function (bLogout, bClose)
AbstractApp.prototype.loginAndLogoutReload = function (bAdmin, bLogout, bClose)
{
var
kn = require('Knoin/Knoin'),
@ -227,7 +228,8 @@
window.close();
}
sCustomLogoutLink = sCustomLogoutLink || './';
sCustomLogoutLink = sCustomLogoutLink || (bAdmin ? Links.rootAdmin() : Links.rootUser());
if (bLogout && window.location.href !== sCustomLogoutLink)
{
_.delay(function () {