Koha/koha-tmpl/intranet-tmpl/prog/en
Andrew Isherwood f79da166ae
Bug 23229: Only load ILL table JS when needed
This patch prevents the JS associated with the ILL table from loading
unless we're actually displaying the table. This has the knock on effect
of not causing the "get all ILL requests" API request to fire when
loading any ILL page.

Test plan:

- Go to "ILL requests" page
- TEST: Observe that the table loads all ILL requests
- Go to the "New ILL request" page for any installed backend
- TEST: Check the browser dev tools "Network" panel, observe that the
/api/v1/illrequests?embed=metadata,patron,capabilities,library,status_alias,comments,requested_partners
request is not made.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-07-26 11:12:31 +01:00
..
data Bug 19648: Revise marc21_field_007.xml 2019-04-12 01:47:51 +00:00
includes Bug 23048: Hide non-pickup branches from hold modification select 2019-07-19 13:49:38 +01:00
modules Bug 23229: Only load ILL table JS when needed 2019-07-26 11:12:31 +01:00
xslt Bug 20364: Show languages from MARC21 field 041 in intranet 2019-07-15 11:28:07 +01:00
columns.def Bug 19919: Stop using paidfor altogether 2019-07-15 11:28:05 +01:00