Merge pull request #1273 from julceslauhub/master
BUG 10550 After the session has expired the filters do not work SOLVED
This commit is contained in:
@@ -1,4 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
if (!isset($_SESSION['USER_LOGGED'])) {
|
||||||
|
$result = new stdclass();
|
||||||
|
$result->error = G::LoadTranslation('ID_LOGIN_AGAIN');
|
||||||
|
die(G::json_encode($result));
|
||||||
|
}
|
||||||
|
|
||||||
//Getting the extJs parameters
|
//Getting the extJs parameters
|
||||||
$callback = isset( $_POST["callback"] ) ? $_POST["callback"] : "stcCallback1001";
|
$callback = isset( $_POST["callback"] ) ? $_POST["callback"] : "stcCallback1001";
|
||||||
$dir = isset( $_POST["dir"] ) ? $_POST["dir"] : "DESC";
|
$dir = isset( $_POST["dir"] ) ? $_POST["dir"] : "DESC";
|
||||||
|
|||||||
@@ -714,6 +714,19 @@ Ext.onReady ( function() {
|
|||||||
PMExt.notify('ERROR', response.reader.jsonData.message);
|
PMExt.notify('ERROR', response.reader.jsonData.message);
|
||||||
//PMExt.error
|
//PMExt.error
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
exception: function(dp, type, action, options, response, arg) {
|
||||||
|
responseObject = Ext.util.JSON.decode(response.responseText);
|
||||||
|
if (typeof(responseObject.error) != 'undefined') {
|
||||||
|
Ext.Msg.show({
|
||||||
|
title: _('ID_ERROR'),
|
||||||
|
msg: responseObject.error,
|
||||||
|
fn: function(){parent.parent.location = '../login/login';},
|
||||||
|
animEl: 'elId',
|
||||||
|
icon: Ext.MessageBox.ERROR,
|
||||||
|
buttons: Ext.MessageBox.OK
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -774,6 +774,7 @@ if (! defined( 'EXECUTE_BY_CRON' )) {
|
|||||||
$noLoginFiles[] = 'fields_Ajax';
|
$noLoginFiles[] = 'fields_Ajax';
|
||||||
$noLoginFiles[] = 'appFolderAjax';
|
$noLoginFiles[] = 'appFolderAjax';
|
||||||
$noLoginFiles[] = 'steps_Ajax';
|
$noLoginFiles[] = 'steps_Ajax';
|
||||||
|
$noLoginFiles[] = 'proxyCasesList';
|
||||||
|
|
||||||
$noLoginFolders[] = 'services';
|
$noLoginFolders[] = 'services';
|
||||||
$noLoginFolders[] = 'tracker';
|
$noLoginFolders[] = 'tracker';
|
||||||
|
|||||||
Reference in New Issue
Block a user