Bugzilla – Attachment 9612 Details for
Bug 8106
DataTables in Acquisision module: addorderiso2709.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
addorderiso2709.tt
addorderiso2709.tt (text/plain), 1.91 KB, created by
Jonathan Druart
on 2012-05-16 12:01:28 UTC
(
hide
)
Description:
addorderiso2709.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-05-16 12:01:28 UTC
Size:
1.91 KB
patch
obsolete
>From 92879a2b9be0b0a8f9b1c80d6c457dedfb657761 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 17 Feb 2012 15:55:38 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 5345: DataTables integration in acquisition > module [3] > >addorderiso2709.tt > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Only affects the list of imports, not the list of records >--- > .../prog/en/modules/acqui/addorderiso2709.tt | 16 ++++++++++------ > 1 files changed, 10 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >index 80f88f9..6a8ec03 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >@@ -7,17 +7,21 @@ > › Batch List > [% END %] > </title> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> > [% INCLUDE 'doc-head-close.inc' %] >-<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> >+<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% INCLUDE 'datatables-strings.inc' %] >+<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> > <script type="text/javascript" src="[% themelang %]/js/acq.js"></script> > <script type="text/JavaScript"> > //<![CDATA[ > $(document).ready(function() { >- $("#files").tablesorter({ >- headers: { >- 5: { sorter: false }, >- } >- }); >+ var srlt = $("#files").dataTable($.extend(true, {}, dataTablesDefaults, { >+ "aoColumnDefs": [ >+ { "aTargets": [ 5 ], "bSortable": false, "bSearchable": false }, >+ ], >+ "sPaginationType": "four_button" >+ } ) ); > }); > //]]> > </script> >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8106
:
9612
|
9615