Return false on 401 in file list + trash file list
This gives a chance to the global ajax error handler to do its work if the session expired.
This commit is contained in:
parent
6d90651ff0
commit
dbdf2173ac
|
@ -1436,6 +1436,10 @@
|
||||||
delete this._reloadCall;
|
delete this._reloadCall;
|
||||||
this.hideMask();
|
this.hideMask();
|
||||||
|
|
||||||
|
if (status === 401) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Firewall Blocked request?
|
// Firewall Blocked request?
|
||||||
if (status === 403) {
|
if (status === 403) {
|
||||||
// Go home
|
// Go home
|
||||||
|
|
|
@ -325,6 +325,10 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (result.status === 401) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Firewall Blocked request?
|
// Firewall Blocked request?
|
||||||
if (result.status === 403) {
|
if (result.status === 403) {
|
||||||
// Go home
|
// Go home
|
||||||
|
|
Loading…
Reference in New Issue