diff options
Diffstat (limited to 'wqflask/wqflask/static/new/javascript/trait_data_and_analysis.js')
-rw-r--r-- | wqflask/wqflask/static/new/javascript/trait_data_and_analysis.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/wqflask/wqflask/static/new/javascript/trait_data_and_analysis.js b/wqflask/wqflask/static/new/javascript/trait_data_and_analysis.js index 0de0297b..e1f870d9 100644 --- a/wqflask/wqflask/static/new/javascript/trait_data_and_analysis.js +++ b/wqflask/wqflask/static/new/javascript/trait_data_and_analysis.js @@ -200,15 +200,12 @@ }; $('select[name=corr_method]').change(on_corr_method_change); on_corr_submit = function() { - var values; + var params, values; console.log("in beginning of on_corr_submit"); values = $('#trait_data_form').serialize(); console.log("in on_corr_submit, values are:", values); - return $.ajax("/corr_compute", { - type: 'GET', - dataType: 'html', - data: values - }); + params = $.param(values); + return window.location.href = "/corr_compute?" + params; }; $('#corr_compute').click(on_corr_submit); /* |