Lines 242-248
Link Here
|
242 |
[% MACRO jsinclude BLOCK %] |
242 |
[% MACRO jsinclude BLOCK %] |
243 |
[% INCLUDE 'datatables.inc' %] |
243 |
[% INCLUDE 'datatables.inc' %] |
244 |
[% Asset.js("js/admin-menu.js") | $raw %] |
244 |
[% Asset.js("js/admin-menu.js") | $raw %] |
245 |
[% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") | $raw %] |
|
|
246 |
<script> |
245 |
<script> |
247 |
$(document).ready(function() { |
246 |
$(document).ready(function() { |
248 |
$("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { |
247 |
$("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { |
Lines 253-259
Link Here
|
253 |
})); |
252 |
})); |
254 |
$("#select_display").on("change",function(){ |
253 |
$("#select_display").on("change",function(){ |
255 |
var checked = $(this).prop("checked") ? 1: 0; |
254 |
var checked = $(this).prop("checked") ? 1: 0; |
256 |
$.cookie('marctagstructure_selectdisplay', checked); |
255 |
Cookies.set("marctagstructure_selectdisplay", checked); |
257 |
this.form.submit(); |
256 |
this.form.submit(); |
258 |
}); |
257 |
}); |
259 |
}); |
258 |
}); |
260 |
- |
|
|