Skip to content

Commit c2aef0f

Browse files
jlge20wildmanj
authored andcommitted
Remove select all button
1 parent c7c6dca commit c2aef0f

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

app/assets/javascripts/export_course.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,4 @@ $(document).ready(function() {
1616
addChecked(checkbox);
1717
});
1818
});
19-
20-
21-
$('#select_all_btn').on('click', function() {
22-
var checkboxes = document.querySelectorAll('.cbox');
23-
for(var i=0; i < checkboxes.length; i++){
24-
console.log(checkboxes[i]);
25-
checkboxes[i].checked=true;
26-
addChecked(checkboxes[i]);
27-
}
28-
});
2919
});

app/views/courses/_exportForm.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@
3939
<div class="row">
4040
<div>
4141
<a class="btn" id="export_btn" >Export</a>
42-
<a class="btn" id="select_all_btn" >Select All</a>
4342
</div>
4443
</div>

0 commit comments

Comments
 (0)