mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Refactored the bulk edit controller.
This commit is contained in:
18
public/v1/js/ff/transactions/mass/edit-bulk.js
vendored
18
public/v1/js/ff/transactions/mass/edit-bulk.js
vendored
@@ -24,4 +24,22 @@ $(document).ready(function () {
|
||||
"use strict";
|
||||
initTagsAC();
|
||||
initCategoryAC();
|
||||
|
||||
// on change, remove the checkbox.
|
||||
$('input[name="category"]').change(function () {
|
||||
$('input[name="ignore_category"]').attr('checked', false);
|
||||
});
|
||||
|
||||
$('select[name="budget_id"]').change(function () {
|
||||
|
||||
$('input[name="ignore_budget"]').attr('checked', false);
|
||||
});
|
||||
|
||||
$('input[name="tags"]').on('itemAdded', function(event) {
|
||||
$('input[name="ignore_tags"]').attr('checked', false);
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user