Commit 10b7c14d authored by Ryan Herbert's avatar Ryan Herbert

database.js stats.html add select all box

See #3041
parent 7a2a305e
......@@ -1109,6 +1109,12 @@ Database.prototype = {
$('#stats_button').attr('href', addr);
},
updateStatsSelection: function(cb) {
var $cb=$(cb);
$('[name^=\"sample_set_ids\"]').prop('checked', $cb.is(':checked'));
this.updateStatsButton();
},
// Log functions, to server
// 'quiet' is set to true to avoid infinite loops with timeouts
log : function (lvl, msg) {
......
......@@ -31,7 +31,9 @@
</div>
<div class="clear"></div>
<input type="checkbox"
onclick="db.updateStatsSelection(this);"/>
select all
<div id="db_table_container">
<table class="db_table" id="table" border="1">
<thead>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment