Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
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
..
csv
acqui-home.tt Bug 32070: Consistent classes for primary buttons: Acquisitions 2022-11-02 19:37:37 -03:00
addorder.tt
addorderiso2709.tt Bug 20473: Whitespace 2023-01-31 11:00:16 -03:00
ajax.tt
basket.tt Bug 32504: Fix misalignment of visibility of basket orders table columns and missing export columns 2023-01-31 09:39:57 -03:00
basketgroup.tt Bug 32605: Restore some form styling from before the redesign 2023-02-15 09:22:05 -03:00
basketheader.tt Bug 32070: Consistent classes for primary buttons: Acquisitions 2022-11-02 19:37:37 -03:00
booksellers.tt
cancelorder.tt
duplicate_orders.tt Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
edi_ean.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00
edifactmsgs.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00
edimsg.tt
histsearch.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00
invoice-files.tt Bug 32070: Consistent classes for primary buttons: Acquisitions 2022-11-02 19:37:37 -03:00
invoice.tt Bug 32743: (follow-up) Add markup comments 2023-02-07 15:30:34 -03:00
invoices.tt Bug 32661: (follow-up) Use more unique variable name to avoid collisions 2023-02-07 15:30:28 -03:00
lateorders.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00
moddeliverydate.tt Bug 15348: (follow-up) Fix filters on input fields 2022-11-24 15:56:08 -03:00
modordernotes.tt Bug 32070: Consistent classes for primary buttons: Acquisitions 2022-11-02 19:37:37 -03:00
neworderempty.tt Bug 15348: (follow-up) Fix filters on input fields 2022-11-24 15:56:08 -03:00
neworderempty_duplicate.tt Bug 32070: Consistent classes for primary buttons: Acquisitions 2022-11-02 19:37:37 -03:00
newordersubscription.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00
newordersuggestion.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00
ordered.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00
orderreceive.tt Bug 32694: (QA follow-up) Fix missing TT filters 2023-01-30 12:08:12 -03:00
parcel.tt Bug 32406: Switch acq datatable from headers to query param 2023-02-02 11:59:26 -03:00
parcels.tt Bug 31828: Add page-section to list of open invoices on receive shipment page (acq) 2022-11-10 09:26:42 -03:00
showorder.tt
spent.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00
supplier.tt Bug 32605: (follow-up) Additional fixes 2023-02-15 09:22:05 -03:00
transferorder.tt Bug 32070: Consistent classes for primary buttons: Acquisitions 2022-11-02 19:37:37 -03:00
uncertainprice.tt Bug 31823: Add page-section to uncertain prices page (acq) 2022-11-10 09:23:19 -03:00
z3950_search.tt Bug 32616: Add 'page-section' to various acquisitions pages 2023-01-17 09:25:13 +00:00