Compare commits
1 Commits
fake_migra
...
patch-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6fddca4e4f |
@@ -284,6 +284,7 @@
|
|||||||
var redirect = xhr.getResponseHeader('web2py-redirect-location');
|
var redirect = xhr.getResponseHeader('web2py-redirect-location');
|
||||||
if (redirect !== null) {
|
if (redirect !== null) {
|
||||||
window.location = redirect;
|
window.location = redirect;
|
||||||
|
window.location.reload(); // Force reload even with anchors
|
||||||
}
|
}
|
||||||
/* run this here only if this Ajax request is NOT for a web2py component. */
|
/* run this here only if this Ajax request is NOT for a web2py component. */
|
||||||
if (xhr.getResponseHeader('web2py-component-content') === null) {
|
if (xhr.getResponseHeader('web2py-component-content') === null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user