aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/booking
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-06-21 17:08:56 -0400
committerParker Berberian <pberberian@iol.unh.edu>2019-06-25 13:52:33 -0400
commit0b82b343f6d84a7420a2aea573a7c8d9597d8652 (patch)
tree2496a87b29b8c762d9a8233341039aae1537aa6f /src/templates/booking
parent46f31a6df95a4d071ef49acf5a1dfb3ceecf0ea3 (diff)
Move JS to external file
This is mostly a proof of concept to move all JS to external files to pave the way for future re-architecting Change-Id: I3b6f00bff7325b85a75d37f554892fa5283d9f4b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/templates/booking')
-rw-r--r--src/templates/booking/quick_deploy.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/templates/booking/quick_deploy.html b/src/templates/booking/quick_deploy.html
index ea80af4..07f3d89 100644
--- a/src/templates/booking/quick_deploy.html
+++ b/src/templates/booking/quick_deploy.html
@@ -83,7 +83,7 @@
function submit_form()
{
//formats data for form submission
- document.getElementById("filter_field").value = JSON.stringify(result);
+ multi_filter_widget.finish();
}
function hide_dropdown(drop_id) {
@@ -104,10 +104,8 @@
}
function get_selected_value(key){
- for( var attr in result[key] ){
- if( attr in {} )
- continue;
- else
+ for( var attr in multi_filter_widget.result[key] ){
+ if(!(attr in {}) )
return attr;
}
return null;