Merge branch 'bug_9450' into 3.12-master
This commit is contained in:
commit
af7f49d198
1 changed files with 14 additions and 13 deletions
|
@ -3,7 +3,10 @@
|
|||
[% INCLUDE 'greybox.inc' %]
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
|
||||
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.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>
|
||||
[% INCLUDE 'datatables-strings.inc' %]
|
||||
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function Import(GetThisOne,biblionumber) {
|
||||
|
@ -11,12 +14,6 @@ function Import(GetThisOne,biblionumber) {
|
|||
window.close();
|
||||
return false;
|
||||
}
|
||||
$.tablesorter.addParser({
|
||||
id: 'articles',
|
||||
is: function(s) {return false; },
|
||||
format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
|
||||
type: 'text'
|
||||
});
|
||||
|
||||
function closemenu(){
|
||||
$(".linktools").hide();
|
||||
|
@ -32,11 +29,14 @@ $(document).ready(function(){
|
|||
$(".checkboxed").unCheckCheckboxes();
|
||||
return false;
|
||||
});
|
||||
$("#resultst").tablesorter({
|
||||
sortList: [[1,0]],
|
||||
headers: { 1: { sorter: 'articles' },7: { sorter: false },8: { sorter: false } },
|
||||
widgets: ['zebra']
|
||||
});
|
||||
$("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, {
|
||||
"sDom": 't',
|
||||
"aoColumnDefs": [
|
||||
{ "aTargets": [ -1,-2,-3 ], "bSortable": false, "bSearchable": false },
|
||||
],
|
||||
"aaSorting": [[ 1, "asc" ]],
|
||||
"bPaginate": false
|
||||
}));
|
||||
/* Inline edit/delete links */
|
||||
$("td").click(function(event){
|
||||
var $tgt = $(event.target);
|
||||
|
@ -157,7 +157,8 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
|
|||
<th>Edition</th>
|
||||
<th>ISBN</th>
|
||||
<th>LCCN</th>
|
||||
<th colspan="2">Preview</th>
|
||||
<th>MARC</th>
|
||||
<th>Card</th>
|
||||
<th> </th>
|
||||
</tr></thead>
|
||||
<tbody>[% FOREACH breeding_loo IN breeding_loop %]
|
||||
|
|
Loading…
Reference in a new issue