Lines 233-239
Link Here
|
233 |
[% MACRO jsinclude BLOCK %] |
233 |
[% MACRO jsinclude BLOCK %] |
234 |
[% INCLUDE 'datatables.inc' %] |
234 |
[% INCLUDE 'datatables.inc' %] |
235 |
[% Asset.js("js/admin-menu.js") | $raw %] |
235 |
[% Asset.js("js/admin-menu.js") | $raw %] |
236 |
[% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") | $raw %] |
|
|
237 |
<script> |
236 |
<script> |
238 |
$(document).ready(function() { |
237 |
$(document).ready(function() { |
239 |
$("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { |
238 |
$("#table_marctagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { |
Lines 244-250
Link Here
|
244 |
})); |
243 |
})); |
245 |
$("#select_display").on("change",function(){ |
244 |
$("#select_display").on("change",function(){ |
246 |
var checked = $(this).prop("checked") ? 1: 0; |
245 |
var checked = $(this).prop("checked") ? 1: 0; |
247 |
$.cookie('marctagstructure_selectdisplay', checked); |
246 |
Cookies.set("marctagstructure_selectdisplay", checked); |
248 |
this.form.submit(); |
247 |
this.form.submit(); |
249 |
}); |
248 |
}); |
250 |
}); |
249 |
}); |
251 |
- |
|
|