diff --git a/beat/web/experiments/static/experiments/js/utils.js b/beat/web/experiments/static/experiments/js/utils.js index 42894ec70ccfe93ca3fa995b4abbb4ff000d0678..ac71620ef6ed60efe53c7fc3247ae1e0d003caf1 100644 --- a/beat/web/experiments/static/experiments/js/utils.js +++ b/beat/web/experiments/static/experiments/js/utils.js @@ -424,11 +424,11 @@ beat.experiments.utils.displayPlot = function(prefix, container, value, availabl value[other_what], available_plotter_parameter, false); else plotter_selector = _create_selector_with_merge_button(what, value[what], available_plotters, other_what, - value[other_what], available_plotter_parameter, true); + value[other_what], available_plotter_parameter, true, !value["merged"]); _regenerate_multiple_graph(plotter_selector); if (callback) - callback(value[what], $(selector_plotterparameter).val()); + callback(value[what], $(selector_plotterparameter).val(), value["merged"]); }); var button_merge = document.createElement('a');