aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2016-06-16 06:39:16 +0000
committerPjotr Prins2016-06-16 06:39:16 +0000
commit407362b6e2da34f0be4468b719a2a9d7432d5ea2 (patch)
tree3fccb5ec1e1a1f2fc48a34e57168e48ec9cbe81f /wqflask
parent2bea415cc03d353b945c8033593c119bb381d164 (diff)
downloadgenenetwork2-407362b6e2da34f0be4468b719a2a9d7432d5ea2.tar.gz
Menu: jdata is no longer used
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/dataset_select_menu.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/wqflask/wqflask/static/new/javascript/dataset_select_menu.js b/wqflask/wqflask/static/new/javascript/dataset_select_menu.js
index 2c4246f5..8c04b4cb 100644
--- a/wqflask/wqflask/static/new/javascript/dataset_select_menu.js
+++ b/wqflask/wqflask/static/new/javascript/dataset_select_menu.js
@@ -2,7 +2,6 @@
$(function() {
var apply_default, check_search_term, dataset_info, group_info, make_default, open_window, populate_dataset, populate_group, populate_species, populate_type, process_json, redo_dropdown, gndata;
process_json = function(data) {
- window.jdata = data;
populate_species();
return apply_default();
};
@@ -43,8 +42,6 @@ $(function() {
populate_type = function() {
var species = $('#species').val();
var group = $('#group').val();
- // var type_list = this.jdata.types[species][group];
- // console.log(species,group,gndata.types[species][group])
var type_list = gndata.types[species][group].map(function(item) {
return [item,item];
})
@@ -57,9 +54,6 @@ $(function() {
var species = $('#species').val();
var group = $('#group').val();
var type = $('#type').val();
- // console.log("sgt:", species, group, type);
- // dataset_list = this.jdata.datasets[species][group][type];
- // console.log("pop_dataset:", dataset_list);
var dataset_list = gndata.datasets[species][group][type].map(function(item) {
return item.slice(1,3);
})