|
|
|
|
@ -235,7 +235,6 @@ define([
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#button-select-all').click(function (e) {
|
|
|
|
|
// toggle checkbox if the click doesn't come from the checkbox already
|
|
|
|
|
if (!$(e.target).is('input[type=checkbox]')) {
|
|
|
|
|
@ -815,14 +814,14 @@ define([
|
|
|
|
|
//#issue 3961, update the checkbox aria-label when it changed
|
|
|
|
|
if(selected.length>=1){
|
|
|
|
|
if($('#select-all').prop("checked")){
|
|
|
|
|
$('#button-select-all').attr("aria-label","Selected All "+ selected.length+" items");
|
|
|
|
|
$('#button-select-all').attr("aria-label", i18n.msg._("Selected All "+ selected.length+" items"));
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
$('#button-select-all').attr("aria-label","Selected, "+ selected.length+" items");
|
|
|
|
|
$('#button-select-all').attr("aria-label", i18n.msg._("Selected, "+ selected.length+" items"));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else{
|
|
|
|
|
$('#button-select-all').attr("aria-label","Select All/None");
|
|
|
|
|
$('#button-select-all').attr("aria-label", i18n.msg._("Select All/None"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// If at aleast on item is selected, hide the selection instructions.
|
|
|
|
|
|