1 /* global _ dataTablesDefaults */
3 $(document).ready(function(){
6 $(".confirmdelete").click(function(){
7 $(this).parents('tr').addClass("warn");
8 if(confirm(__("Are you sure you want to delete this rotating collection?"))){
11 $(this).parents('tr').removeClass("warn");
16 if( $('#rotating-collections-table').length > 0 ){
17 $('#rotating-collections-table').dataTable($.extend(true, {}, dataTablesDefaults, {
20 { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
22 "sPaginationType": "full"