Merge pull request #2231 from dlage/patch-1

Force page reload with anchors
This commit is contained in:
mdipierro
2019-08-11 10:45:37 -07:00
committed by GitHub
+1
View File
@@ -284,6 +284,7 @@
var redirect = xhr.getResponseHeader('web2py-redirect-location');
if (redirect !== null) {
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. */
if (xhr.getResponseHeader('web2py-component-content') === null) {