diff --git a/lib/base/front/front.class.php b/lib/base/front/front.class.php index 15317426a8..7d12b3ac58 100644 --- a/lib/base/front/front.class.php +++ b/lib/base/front/front.class.php @@ -588,7 +588,7 @@ function selectAll(checker, scope, type) { if(type == 'button') { - var check = $(checker).data('check'); + var check = $('#' + scope + ' input:checkbox').length == $('#' + scope + ' input:checkbox:checked').length ? false : true; $('#' + scope + ' input').each(function() { $(this).prop("checked", check) @@ -607,12 +607,11 @@ function selectAll(checker, scope, type) { if(type == 'button') { - var check = $(checker).data('check'); + var check = $('input:checkbox').length == $('input:checkbox:checked').length ? false : true; $('input:checkbox').each(function() { $(this).prop("checked", check) }); - $(checker).data('check', check == true ? false :true); } else if(type == 'checkbox') { @@ -632,7 +631,7 @@ EOT; } elseif($type == 'button') { - $string .= ""; + $string .= ""; } return $string; diff --git a/module/block/view/executionblock.html.php b/module/block/view/executionblock.html.php index 6840fa44ad..6854e2ab3d 100644 --- a/module/block/view/executionblock.html.php +++ b/module/block/view/executionblock.html.php @@ -14,6 +14,7 @@ .table .c-progress {width: 60px;} .table .c-estimate {width: 85px;} .c-hours {text-align: right !important; padding-right: 24px !important;} +.table .c-burn {width: 150px;}