BUG 11969 Web session TimeOut at HOME
Se realizo una correccion de los direccionamientos de los iframes al perder sesion, ya q siempre q se perdia sesion antes, se mostraba dentro del mismo iframe el cuadro para volverse a logear, logrando asi q el usuario se mantenga en el mismo iframe una ves se relogee, sin tener asi q volver a buscar el lugar donde estaba trabajando. A pedido de QA, ahora se muestra el cuadro de logeo en el iframe mayor, totalmente fuera de PM, y siempre al volver a logearse se redirecciona al tab HOME > Index, y ya no asi al frame o lugar exacto donde se perdio sesion. Por ejemplo: si se pie sesion en el listado Draft, no se volvera a dicho listado, sino en cambio al volverse a logear se redireccionara a HOME > Indexdex. El cambio se aplico a los lugares donde se podia redireccionar al parent.
This commit is contained in:
@@ -22,9 +22,9 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*/
|
*/
|
||||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||||
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
||||||
die( '<script type="text/javascript">
|
die( '<script type="text/javascript">
|
||||||
parent.location = "../cases/casesListExtJs?action=selfservice";
|
top.location = top.location;
|
||||||
</script>');
|
</script>');
|
||||||
}
|
}
|
||||||
/* Permissions */
|
/* Permissions */
|
||||||
|
|||||||
@@ -22,11 +22,11 @@
|
|||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
||||||
*/
|
*/
|
||||||
//validate the data post
|
//validate the data post
|
||||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||||
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
||||||
die( '<script type="text/javascript">
|
die( '<script type="text/javascript">
|
||||||
parent.location = "../cases/casesStartPage?action=startCase";
|
top.location = top.location;
|
||||||
</script>');
|
</script>');
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
if ($_GET['APP_UID'] !== $_SESSION['APPLICATION']) {
|
if ($_GET['APP_UID'] !== $_SESSION['APPLICATION']) {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||||
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
||||||
die( '<script type="text/javascript">
|
die( '<script type="text/javascript">
|
||||||
parent.location = "../cases/casesStartPage?action=startCase";
|
top.location = top.location;
|
||||||
</script>');
|
</script>');
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ function openCaseNotesWindow(appUid1, modalSw, appTitle, proUid, taskUid)
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -385,7 +385,7 @@ function sendNote()
|
|||||||
icon : Ext.MessageBox.ERROR,
|
icon : Ext.MessageBox.ERROR,
|
||||||
buttons : Ext.Msg.OK,
|
buttons : Ext.Msg.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -520,7 +520,7 @@ var openSummaryWindow = function(appUid, delIndex, action)
|
|||||||
icon : Ext.MessageBox.ERROR,
|
icon : Ext.MessageBox.ERROR,
|
||||||
buttons : Ext.Msg.OK,
|
buttons : Ext.Msg.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -466,7 +466,7 @@ function openActionDialog(caller, action, dataAux)
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -360,7 +360,7 @@
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -426,7 +426,7 @@
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ function deleteCase() {
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -1321,7 +1321,7 @@ Ext.onReady ( function() {
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -1416,7 +1416,7 @@ Ext.onReady ( function() {
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -2218,7 +2218,7 @@ function reassign(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ Ext.onReady(function() {
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -113,7 +113,7 @@ Ext.onReady(function() {
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -145,7 +145,7 @@ Ext.onReady(function() {
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -179,7 +179,7 @@ Ext.onReady(function() {
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -214,7 +214,7 @@ Ext.onReady(function() {
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -426,7 +426,7 @@ function openCaseA(n){
|
|||||||
icon : Ext.MessageBox.ERROR,
|
icon : Ext.MessageBox.ERROR,
|
||||||
buttons : Ext.Msg.OK,
|
buttons : Ext.Msg.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -451,7 +451,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -481,7 +481,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -550,7 +550,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -621,7 +621,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -651,7 +651,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -681,7 +681,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -711,7 +711,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -741,7 +741,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -922,7 +922,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -1070,7 +1070,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -1100,7 +1100,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -1201,7 +1201,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@@ -1279,7 +1279,7 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
location = location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user