Include querystring when force reload of a bare template view.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-13 22:09:27 -04:00
parent 565f6caa0d
commit de87f83c05
2 changed files with 4 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
* current location's path as the new hash * current location's path as the new hash
*/ */
document.write('<script type="text/undefined">') document.write('<script type="text/undefined">')
var currentPath = window.location.pathname; var currentPath = window.location.pathname + window.location.search;
window.location = '/#' + currentPath; window.location = '/#' + currentPath;
} }
</script> </script>

View File

@@ -62,8 +62,6 @@ PyYAML==3.13
celery==3.1.24 celery==3.1.24
django-activity-stream==0.6.5 django-activity-stream==0.6.5
django-autoadmin==1.1.1 django-autoadmin==1.1.1
#django-celery==3.2.1 - Use fork below until patch https://github.com/celery/django-celery/pull/552 is accepted.
https://github.com/mayan-edms/django-celery/zipball/master#egg=django-celery
django-colorful==1.2 django-colorful==1.2
django-cors-headers==2.2.0 django-cors-headers==2.2.0
django-downloadview==1.9 django-downloadview==1.9
@@ -128,6 +126,9 @@ setup(
'Topic :: Communications :: File Sharing', 'Topic :: Communications :: File Sharing',
], ],
description='Free Open Source Electronic Document Management System', description='Free Open Source Electronic Document Management System',
dependency_links=[
"https://github.com/mayan-edms/django-celery/zipball/master#egg=django-celery"
],
include_package_data=True, include_package_data=True,
install_requires=install_requires, install_requires=install_requires,
license='Apache 2.0', license='Apache 2.0',