Added allow_universal_login setting (login in to admin panel using main login form)

This commit is contained in:
RainLoop Team 2014-10-03 00:22:06 +04:00
parent 81d3d40369
commit 79ad7ccd0b
5 changed files with 49 additions and 4 deletions

View file

@ -125,10 +125,17 @@
sTitle = ((Utils.isNormal(sTitle) && 0 < sTitle.length) ? sTitle + ' - ' : '') +
Settings.settingsGet('Title') || '';
window.document.title = '';
window.document.title = sTitle + ' ...';
window.document.title = sTitle;
};
AbstractApp.prototype.redirectToAdminPanel = function ()
{
_.delay(function () {
window.location.href = './?/Admin/';
}, 100);
};
/**
* @param {boolean=} bLogout = false
* @param {boolean=} bClose = false
@ -149,7 +156,8 @@
window.close();
}
if (bLogout && '' !== sCustomLogoutLink && window.location.href !== sCustomLogoutLink)
sCustomLogoutLink = sCustomLogoutLink || './';
if (bLogout && window.location.href !== sCustomLogoutLink)
{
_.delay(function () {
if (bInIframe && window.parent)