Lines 300-311
Link Here
|
300 |
[% INCLUDE 'datatables.inc' %] |
300 |
[% INCLUDE 'datatables.inc' %] |
301 |
[% INCLUDE 'columns_settings.inc' %] |
301 |
[% INCLUDE 'columns_settings.inc' %] |
302 |
<script> |
302 |
<script> |
303 |
var columns_settings = [% TablesSettings.GetColumns( 'coursereserves', 'reserves', 'course_reserves_table', 'json' ) | $raw %]; |
303 |
var table_settings = [% TablesSettings.GetTableSettings( 'coursereserves', 'reserves', 'course_reserves_table', 'json' ) | $raw %]; |
304 |
$(document).ready(function(){ |
304 |
$(document).ready(function(){ |
305 |
var rtable = KohaTable("course_reserves_table", { |
305 |
var rtable = KohaTable("course_reserves_table", { |
306 |
"sPaginationType": "full", |
306 |
"sPaginationType": "full", |
307 |
"bAutoWidth": false, |
307 |
"bAutoWidth": false, |
308 |
}, columns_settings ); |
308 |
}, table_settings ); |
309 |
|
309 |
|
310 |
$(".delete_item").click(function(){ |
310 |
$(".delete_item").click(function(){ |
311 |
return confirmDelete(_("Are you sure you want to remove this item from the course?")); |
311 |
return confirmDelete(_("Are you sure you want to remove this item from the course?")); |
312 |
- |
|
|