From 137ac9bf3b5db516db45b4df035601700f4f9b23 Mon Sep 17 00:00:00 2001 From: Owen Leonard <oleonard@myacpl.org> Date: Mon, 10 Feb 2014 14:30:26 -0500 Subject: [PATCH] Bug 11737 - Use new DataTables include in quotes management template Bug 10649 introduced a new include file for adding DataTables-related JavaScript assets. This patch adds use of this include file to the quotes management page. To test you should have a multiple quotes in your database. Apply the patch and view the quotes manager page (tools/quotes.pl). Confirm that table sorting works correctly. Signed-off-by: merlissia <manuelimel@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt index 493c34b..2f83802 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt @@ -1,12 +1,10 @@ [% INCLUDE 'doc-head-open.inc' %] <title>Koha › Tools › Quote editor</title> [% INCLUDE 'doc-head-close.inc' %] - <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> <link rel="stylesheet" type="text/css" href="[% themelang %]/css/quotes.css" /> - <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> - <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/dataTables.fnReloadAjax.js"></script> - [% INCLUDE 'datatables-strings.inc' %] - <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> + <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> + [% INCLUDE 'datatables.inc' %] + <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/dataTables.fnReloadAjax.js"></script> <script type="text/javascript" src="[% themelang %]/js/jquery.jeditable.mini.js"></script> <script type="text/javascript"> //<![CDATA[ -- 1.7.10.4