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:
@@ -24,7 +24,7 @@
|
||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
||||
die( '<script type="text/javascript">
|
||||
parent.location = "../cases/casesListExtJs?action=selfservice";
|
||||
top.location = top.location;
|
||||
</script>');
|
||||
}
|
||||
/* Permissions */
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
||||
die( '<script type="text/javascript">
|
||||
parent.location = "../cases/casesStartPage?action=startCase";
|
||||
top.location = top.location;
|
||||
</script>');
|
||||
}
|
||||
try {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||
G::SendTemporalMessage( 'ID_LOGIN_AGAIN', 'warning', 'labels' );
|
||||
die( '<script type="text/javascript">
|
||||
parent.location = "../cases/casesStartPage?action=startCase";
|
||||
top.location = top.location;
|
||||
</script>');
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -79,7 +79,7 @@ function openCaseNotesWindow(appUid1, modalSw, appTitle, proUid, taskUid)
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -385,7 +385,7 @@ function sendNote()
|
||||
icon : Ext.MessageBox.ERROR,
|
||||
buttons : Ext.Msg.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -520,7 +520,7 @@ var openSummaryWindow = function(appUid, delIndex, action)
|
||||
icon : Ext.MessageBox.ERROR,
|
||||
buttons : Ext.Msg.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -466,7 +466,7 @@ function openActionDialog(caller, action, dataAux)
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -360,7 +360,7 @@
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -426,7 +426,7 @@
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -158,7 +158,7 @@ function deleteCase() {
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -1321,7 +1321,7 @@ Ext.onReady ( function() {
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -1416,7 +1416,7 @@ Ext.onReady ( function() {
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -2218,7 +2218,7 @@ function reassign(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -81,7 +81,7 @@ Ext.onReady(function() {
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -113,7 +113,7 @@ Ext.onReady(function() {
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -145,7 +145,7 @@ Ext.onReady(function() {
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -179,7 +179,7 @@ Ext.onReady(function() {
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -214,7 +214,7 @@ Ext.onReady(function() {
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -426,7 +426,7 @@ function openCaseA(n){
|
||||
icon : Ext.MessageBox.ERROR,
|
||||
buttons : Ext.Msg.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
@@ -451,7 +451,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -481,7 +481,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -550,7 +550,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -621,7 +621,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -651,7 +651,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -681,7 +681,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -711,7 +711,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -741,7 +741,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -922,7 +922,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -1070,7 +1070,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -1100,7 +1100,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -1201,7 +1201,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -1279,7 +1279,7 @@ Ext.onReady(function(){
|
||||
icon: Ext.MessageBox.ERROR,
|
||||
buttons: Ext.MessageBox.OK,
|
||||
fn : function(btn) {
|
||||
location = location;
|
||||
top.location = top.location;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user