From 08a41941f9e2b35b16548624d5070216dd933f79 Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Tue, 16 Jul 2019 00:07:37 +0100 Subject: Part one of getting troggle to work with django 1.10 Major rework of how survex is processed --- media/js/survey.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'media/js/survey.js') diff --git a/media/js/survey.js b/media/js/survey.js index 30305dc..268d655 100644 --- a/media/js/survey.js +++ b/media/js/survey.js @@ -29,12 +29,12 @@ } function redirectSurvey(){ - window.location = "{{ settings.URL_ROOT }}/survey/" + document.getElementById("expeditionChooser").value + "%23" + document.getElementById("surveyChooser").value; + window.location = "{{ URL_ROOT }}/survey/" + document.getElementById("expeditionChooser").value + "%23" + document.getElementById("surveyChooser").value; document.getElementById("progressTableContent").style.display='hidden' } function redirectYear(){ - window.location = "{{ settings.URL_ROOT }}/survey/" + document.getElementById("expeditionChooser").value + "%23" + window.location = "{{ URL_ROOT }}/survey/" + document.getElementById("expeditionChooser").value + "%23" } -- cgit v1.2.3