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