From c585c9cf9d1bb1792741bbb0f36e3bc6bcde68b3 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 22 Jul 2016 15:24:03 -0400 Subject: [PATCH] Bug 16968 - Remove the use of "onclick" from serial patron and vendor search templates This patch removes instances of "onclick" from the serials templates for patron and vendor search. To test, go to Serials and click "New subscription." - In the new subscription form, click the "Search for a vendor" link. - In the popup, search for a vendor. Confirm that clicking "Choose" selects the correct vendor. - From the detail page of an existing subscription, click "Create routing list." - Search for a patron and test that the "Add" button in search results works correctly to add patrons to the routing list. Signed-off-by: Claire Gravely Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../prog/en/modules/serials/acqui-search-result.tt | 16 +++++++++++++--- .../prog/en/modules/serials/tables/members_results.tt | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt index 94efaf74e7..a46e700f62 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt @@ -1,7 +1,7 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Serials › Select vendor [% INCLUDE 'doc-head-close.inc' %] - @@ -29,13 +37,15 @@ function GetIt(aqbooksellerid,name) [% FOREACH loop_supplier IN loop_suppliers %] [% loop_supplier.name %] - Choose + Choose [% END %] [% END %] -

Perform a new search Close

+

Perform a new search

+ + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt index 75cf84ca82..6453d48a6b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/tables/members_results.tt @@ -13,7 +13,7 @@ "dt_branch": "[% data.branchname |html %]", "dt_action": - "Add" + "Add" }[% UNLESS loop.last %],[% END %] [% END %] ] -- 2.11.0