Koha/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs
Owen Leonard 9863c18cc8
Bug 32933: Use val() instead of attr("value") when getting field values with jQuery
This patch replaces instances in Koha's templates where "attr('value')" is
used to get the value of a form field, using "val()" instead. This
ensures that we get the current value of the field, not just the
value of the field when the page first loaded.

To test, apply the patch and test the following pages:

- Tools -> Tags. Use the "Check lists" form in the right-hand sidebar
  to test the approval status of some approved and rejected tags. It
  should correctly respond with the tag's status.
- Cataloging -> Label creator.
  - New -> Printer profile. Each offset and creep field should correctly
    reflect the selected value in the "Units" dropdown. Changing the
    dropdown should make the units change accordingly.
  - New -> Label template. Perform the same tests as above.
- Tools -> Patron card creator.
  - New -> Layout. If necessary, check the "Field 1" checkbox. The
    units should be displayed correctly and change as you change the
    "Units" dropdown.
  - New -> Printer profile,
  - New -> Card template: Perform the same tests as above.
- Lists -> List contents.
  - Check that the "Add to" dropdown menu works for adding selected
    titles to a cart or another list.
- Back record modification. Submit a batch of records for modification
  and go to Administration -> Manage jobs.
  - View the details of the job you just submitted.
  - Confirm that the "Add modified records to the following list"
    dropdown works correctly.
- Cataloging -> Find a bibliographic record -> Edit items.
  - Confirm that clicking a cell in the table of existing items
    triggers the "Edit item/Delete item" menu, and that these links
    work correctly.

Works as described.

Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-21 09:11:17 -03:00
..
batch_authority_record_deletion.inc Bug 29602: (follow-up) Surround strings with span tag 2022-04-19 21:25:51 -10:00
batch_authority_record_modification.inc Bug 29602: (follow-up) Fix missing filters 2022-04-20 20:43:14 -10:00
batch_biblio_record_deletion.inc
batch_biblio_record_modification.inc Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
batch_hold_cancel.inc Bug 29602: (follow-up) Fix missing filters 2022-04-20 20:43:14 -10:00
batch_item_record_deletion.inc Bug 29602: (follow-up) Fix missing filters 2022-04-20 20:43:14 -10:00
batch_item_record_modification.inc
create_eholdings_from_biblios.inc Bug 32030: Create eHolding titles from a list 2022-11-08 09:44:20 -03:00
marc_import_commit_batch.inc Bug 27421: (QA follow-up) Template polishing 2022-09-19 15:14:59 -03:00
marc_import_revert_batch.inc Bug 27421: (QA follow-up) Template polishing 2022-09-19 15:14:59 -03:00
stage_marc_for_import.inc Bug 31711: (bug 27421 follow-up) Fix add to basket from a new file 2022-11-15 18:44:30 -03:00
update_elastic_index.inc Bug 30733: Simplify translatable strings 2022-06-17 10:16:34 -03:00
update_holds_queue_for_biblios.inc Bug 29346: Add better reporting 2022-05-05 11:17:36 -10:00