Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Hector Castro f240a91640 Bug 16812: Revise JS script for z3950_search.tts and remove onclick events
Modify JS script to all templates for z3950_search.tt and reduce the
redundant code

This patch propose:
-z3950_auth_search.tt has various onclick events used in links.
 Also fix: acqui/z3950_search.tt and cataloguing/z3950_search.tt
-Trigger onclick events via JQuery .on()
-Make a separate .js and .inc file
-Reduce the number of line and redundant code
-Also add Font Awesome Icons to "Select/Clear all" and "Clear search
 form" links

To test:
1-Apply bug 16600 on top
2-Apply patch
3-Go to Authorities > click New from Z39.50
4-Fill some fields and click in "Clear search form" link
5-Search under "Dalton" or another author that launch too many headings
6-Clic in some heading and notice the dialog open, test: "Preview MARC",
  ISBD (when showed), "Import" and close the dialog "X". Use the
  "Import" from table too.
7-Use the "next/previous page" button, change "Go to page" to number in and
  out of the range presented, also test whit a letter, etc.

Go to Cataloging > New from Z39.50/SRU
Repeat steps 3 to 6. But this time with bib records.

Go to Adquisition > Open or Create a basket and choose to "Add to basket"
button. A modal appear, chose the option "Order from external source"
Repeat steps 3 to 6. But this thime with bib records.

NOTE: The icon trash for "Clear search form" has been selected according
with module "Advanced search" there is an icon trash with link "Clear
fields" that has the same fuctionality.
For some reason the image loading-small.gif does not charge all times
when the code is get out of the template. (Fixed with this new patch)
DataTable it is specific for each template

Sponsored-by: Universidad de El Salvador
Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-07-15 15:24:57 +00:00
..
csv Bug 14264: Fix export of late orders when translated 2015-11-23 11:24:51 -03:00
tables Bug 13041 - Can't add user as manager of basket if name includes a single quote 2016-05-06 04:24:09 +00:00
acqui-home.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
addorder.tt Bug 15858: Use Font Awesome icons in dialog alert for addorder.tt 2016-02-24 03:13:12 +00:00
addorderiso2709.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
ajax.tt
basket.tt Bug 16474: Standardize spelling of EDIFACT 2016-05-12 16:12:23 -06:00
basketgroup.tt Bug 16474: Standardize spelling of EDIFACT 2016-05-12 16:12:23 -06:00
basketheader.tt Bug 16384: Fix cancel link for 'Edit basket' 2016-05-03 15:39:38 +00:00
booksellers.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
cancelorder.tt Bug 15951: Use Font Awesome icons for acquisitions order cancellation confirmation 2016-03-03 22:55:24 +00:00
edi_ean.tt Bug 7736: (QA followup) Add missing body id and class 2016-04-04 20:43:01 +00:00
edifactmsgs.tt Bug 16474: Standardize spelling of EDIFACT 2016-05-12 16:12:23 -06:00
edimsg.tt Bug 16474: Standardize spelling of EDIFACT 2016-05-12 16:12:23 -06:00
histsearch.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
invoice-files.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
invoice.tt Bug 16238: Use .prop() instead of .attr() for 'checked' 2016-04-29 14:18:24 +00:00
invoices.tt Bug 16005 - Standardize use of icons for delete and cancel operations 2016-06-03 08:21:25 +00:00
lateorders.tt Bug 16238: Use .prop() instead of .attr() for 'disabled' 2016-04-29 14:18:24 +00:00
modordernotes.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
neworderbiblio.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
neworderempty.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
neworderempty_duplicate.tt
newordersubscription.tt Bug 16385: Fix breadcrumbs when ordering from subscription 2016-05-16 17:41:17 +00:00
newordersuggestion.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
ordered.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
orderreceive.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
parcel.tt Bug 16592 - Use Bootstrap modal for MARC and Card preview on acquisitions receipt summary page 2016-06-10 18:11:43 +00:00
parcels.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
spent.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
supplier.tt Bug 16005 - Standardize use of icons for delete and cancel operations 2016-06-03 08:21:25 +00:00
transferorder.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
uncertainprice.tt Bug 16242 - Move staff client JavaScript out of language directory 2016-04-29 14:32:42 +00:00
z3950_search.tt Bug 16812: Revise JS script for z3950_search.tts and remove onclick events 2016-07-15 15:24:57 +00:00