Commit 1151e219 authored by Michael Menzel's avatar Michael Menzel

added select all btn for wizard matrix

parent 4aa763fc
......@@ -86,6 +86,7 @@
Run analysis
</button>
<button class="btn btn-default right" id="clearbtn_wiz">Clear</button>
<button class="btn btn-default right" id="allbtn_wiz">Select all</button>
</div>
</div>
......@@ -222,6 +223,26 @@
<script src="/js/celltable.js" th:href="@{/js/celltable.js}" ></script>
<script>
document.getElementById("allbtn_wiz").onclick = function (event) {
var counter = 0;
document.getElementById("submitTracks").disabled = false;
event.preventDefault();
$("input[type='checkbox']").each(function (id, box) {
box.checked = true;
counter++;
});
document.getElementById("counter").innerHTML = counter + " tracks selected";
}
</script>
<script>
document.getElementById("clearbtn_wiz").onclick = function (event) {
......
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