Commit 1078fe75 authored by Porter Libby's avatar Porter Libby
Browse files

fix hierarchy resets

parent d60907f8
......@@ -27,14 +27,14 @@ This is the entry point so that both of these options in the descision tree can
*/
function setReading(){
query_type = 0;
resetElements(['trips','sites','sectors','spots','streamingplatform','streamingdates','streaming','readingplatform','readingdates','reading']);
resetElements(['trips','sites','sectors','spots','streaminghost','streamingplatform','streamingdates','streaming','readingplatform','readingdates','reading']);
document.getElementById("button_permalink").disabled = true;
document.getElementById("button_csv").disabled = true;
getTrips(); // get top level of data and render to the next block on the form
}
function setStreaming(){
query_type = 1;
resetElements(['trips','sites','sectors','spots','streamingplatform','streamingdates','streaming','readingplatform','readingdates','reading']);
resetElements(['trips','sites','sectors','spots','streaminghost','streamingplatform','streamingdates','streaming','readingplatform','readingdates','reading']);
document.getElementById("button_permalink").disabled = true;
document.getElementById("button_csv").disabled = true;
getTrips(); // get top level of data and render to the next block on the form
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment