aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js
index 90c6015c..d09fbee9 100644
--- a/wqflask/wqflask/static/new/javascript/show_trait.js
+++ b/wqflask/wqflask/static/new/javascript/show_trait.js
@@ -88,10 +88,14 @@ add = function() {
var trait;
trait = $("input[name=trait_hmac]").val();
return $.colorbox({
- href: "/collections/add?traits=" + trait
+ href: "/collections/add",
+ data: {
+ "traits": trait
+ }
});
};
$('#add_to_collection').click(add);
+
sampleLists = js_data.sample_lists;
sampleGroupTypes = js_data.sample_group_types;