From e158bda3951b072cb4e5846688bafc29a2ca4eb9 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 Content-Type: text/plain; charset="utf-8" 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. --- .../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

+ +
Cancel
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