Skip to content

Commit

Permalink
call redrawBins when bin name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ozcan committed Dec 28, 2016
1 parent f441e4b commit 128e698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anvio/data/interactive/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ function newBin(id, binState) {
var template = '<tr bin-id="{id}" id="bin_row_{id}">' +
' <td><input type="radio" name="active_bin" value="{id}" checked></td>' +
' <td><div id="bin_color_{id}" class="colorpicker" color="{color}" style="background-color: {color}"></td>' +
' <td data-value="{name}"><input type="text" size="21" id="bin_name_{id}" value="{name}"></td>';
' <td data-value="{name}"><input type="text" onChange="redrawBins();" size="21" id="bin_name_{id}" value="{name}"></td>';

if (mode != 'pan')
{
Expand Down

0 comments on commit 128e698

Please sign in to comment.