mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-09 00:46:23 +02:00
(refs #632) Revert. And remove all checked checkbox.
This commit is contained in:
@@ -48,17 +48,10 @@ $(function(){
|
||||
});
|
||||
|
||||
$('.table-issues input[type=checkbox]').change(function(){
|
||||
var count = $('.table-issues input[type=checkbox]').filter(':checked').length;
|
||||
if(count == 0){
|
||||
if($('.table-issues input[type=checkbox]').filter(':checked').length == 0){
|
||||
$('#table-issues-control').show();
|
||||
$('#table-issues-batchedit').hide();
|
||||
} else {
|
||||
if($(this).val() == 'all'){
|
||||
var flag = $(this).is(":checked");
|
||||
$('.table-issues input[type=checkbox]').each(function(){
|
||||
$(this).prop("checked", flag);
|
||||
});
|
||||
}
|
||||
$('#table-issues-control').hide();
|
||||
$('#table-issues-batchedit').show();
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
<table class="table table-bordered table-hover table-issues">
|
||||
<tr>
|
||||
<th style="background-color: #eee;">
|
||||
<input type="checkbox" value="all"/>
|
||||
<span class="small">
|
||||
<a class="button-link@if(condition.state == "open"){ selected}" href="@condition.copy(state = "open").toURL">
|
||||
<img src="@assets/common/images/status-open@(if(condition.state == "open"){"-active"}).png"/>
|
||||
|
||||
Reference in New Issue
Block a user