mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 23:50:09 +00:00
Round the search time and make sure the count is shown #2453
This commit is contained in:
7
public/v1/js/ff/list/groups.js
vendored
7
public/v1/js/ff/list/groups.js
vendored
@@ -21,6 +21,9 @@
|
||||
var count = 0;
|
||||
|
||||
$(document).ready(function () {
|
||||
updateListButtons();
|
||||
});
|
||||
function updateListButtons() {
|
||||
// top button to select all / deselect all:
|
||||
$('input[name="select-all"]').change(function () {
|
||||
if (this.checked) {
|
||||
@@ -46,9 +49,7 @@ $(document).ready(function () {
|
||||
countChecked();
|
||||
updateActionButtons();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
15
public/v1/js/ff/search/index.js
vendored
15
public/v1/js/ff/search/index.js
vendored
@@ -42,17 +42,6 @@ function presentSearchResults(data) {
|
||||
$('.search_box').find('.overlay').remove();
|
||||
$('.search_results').html(data.html).show();
|
||||
|
||||
$('.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();
|
||||
}
|
||||
});
|
||||
|
||||
updateListButtons();
|
||||
}
|
||||
Reference in New Issue
Block a user