From 272f3c41b79f31286a43cd1f088e23802f7f473d 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 --- .../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 94efaf7..a46e700 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 75cf84c..6453d48 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.1.4