mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #1944
This commit is contained in:
10
public/v1/js/ff/search/index.js
vendored
10
public/v1/js/ff/search/index.js
vendored
@@ -47,4 +47,14 @@ function presentSearchResults(data) {
|
||||
$('.select_all_single').unbind('change').change(function () {
|
||||
countChecked();
|
||||
});
|
||||
// make sure select button works:
|
||||
$('input[name="select_all"]').change(function () {
|
||||
if (this.checked) {
|
||||
checkAll();
|
||||
countChecked();
|
||||
} else {
|
||||
uncheckAll();
|
||||
countChecked();
|
||||
}
|
||||
});
|
||||
}
|
||||
2
public/v1/js/ff/transactions/list.js
vendored
2
public/v1/js/ff/transactions/list.js
vendored
@@ -153,6 +153,7 @@ function countChecked() {
|
||||
*/
|
||||
function checkAll() {
|
||||
"use strict";
|
||||
console.log('Now in CheckAll((');
|
||||
$('.select_all_single').prop('checked', true);
|
||||
}
|
||||
|
||||
@@ -207,6 +208,7 @@ function stopMassSelect() {
|
||||
*/
|
||||
function startMassSelect() {
|
||||
"use strict";
|
||||
console.log('Now in startMassSelect()');
|
||||
// show "select all" box in table header.
|
||||
$('.select_boxes').show();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user