Bugzilla – Attachment 6923 Details for
Bug 6842
Branch transfer limits broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch proposed.
0001-Bug-6842-library-transfer-limits-edits-not-stored.patch (text/plain), 2.54 KB, created by
laurenthdl
on 2011-12-22 13:44:48 UTC
(
hide
)
Description:
patch proposed.
Filename:
MIME Type:
Creator:
laurenthdl
Created:
2011-12-22 13:44:48 UTC
Size:
2.54 KB
patch
obsolete
>From 42f8beb58de6a25c41f13def59f143a86d905b41 Mon Sep 17 00:00:00 2001 >From: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> >Date: Thu, 22 Dec 2011 13:07:34 +0100 >Subject: [PATCH] Bug 6842 library transfer limits edits not stored > >This was owed to the bug 6689 Table sorter. >It would embed a form in an other form, which is not licit in xhtml. >This solution relies on the dataTables patches (bug 6836) >and fixes the edit problem with keeping the pagination. >--- > .../en/modules/admin/branch_transfer_limits.tt | 13 ++++--------- > 1 files changed, 4 insertions(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt >index 5e4e58f..7c10e9d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt >@@ -1,8 +1,9 @@ > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Administration › Library Checkin and Transfer Policy</title> > [% 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.tablesorter.pager.js"></script> >+<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> >+<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> > <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> > <script type="text/javascript"> > //<![CDATA[ >@@ -50,10 +51,7 @@ > $("#"+tid).unCheckCheckboxes(); > return false; > }); >- $(".sorted").tablesorter({ >- sortList: [[0,0]], >- headers: { 1: { sorter: false}} >- }).tablesorterPager({container: $(".pager"),positionFixed: false,size: 10}); >+ $(".sorted").dataTable($.extend(true, {}, dataTablesDefaults, { } ) ); > }); > //]]> > </script> >@@ -102,9 +100,6 @@ > <h4>Policy for [% codes_loo.limit_phrase %]: [% codes_loo.code %]</h4> > <p><a id="CheckAll[% codes_loo.code %]table" class="checkall" href="#">Check All</a> | <a id="UncheckAll[% codes_loo.code %]table" class="uncheckall" href="#">Uncheck All</a></p> > >- <div id="pager[% codes_loo.code %]table" class="pager"> >- [% INCLUDE 'table-pager.inc' perpage='20' %] >- </div> > <table id="[% codes_loo.code %]table" class="sorted"> > <thead> > <tr> >-- >1.7.7.3 >
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 6842
:
5438
|
5471
|
6923
|
6925
|
6944
|
6960
|
7477
|
7484