Merged in qronald/processmaker/HOR-1002 (pull request #4223)

HOR-1002
This commit is contained in:
Julio Cesar Laura Avendaño
2016-05-20 10:49:14 -04:00
5 changed files with 198 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ PM.Sessions = (function () {
if (window.location.pathname.indexOf("login") === -1 &&
window.location.pathname.indexOf("sysLogin") === -1 &&
window.location.pathname.indexOf("authentication") === -1 &&
window.location.pathname.indexOf("/sys/") === -1 &&
this.getCookie('PM-TabPrimary') !== '101010010') {
this.isClose = (this.getLabel('mainWindowClose') === "true");
if (this.isClose && parent.parent.parent.window.name === "") {