This commit is contained in:
James Cole
2025-12-29 11:05:48 +01:00
parent 1f343bda1a
commit 73a9be0605

View File

@@ -34,12 +34,14 @@ $(document).ready(function () {
$('input[name="ignore_budget"]').attr('checked', false);
});
$('input[name="tags"]').on('itemAdded', function (event) {
var isChecked = $('#tags_action_do_nothing').is(':checked');
if (true === isChecked) {
$('#tags_action_do_nothing').attr('checked', false);
$('#tags_action_do_replace').attr('checked', true);
}
$('input[name="tags"]').on('itemAdded', function(event) {
$('#tags_action_do_nothing').attr('checked', false);
$('#tags_action_do_replace').attr('checked', true);
});
});
});