@@ -, +, @@ - Submit a batch of barcodes for modification. - Uncheck some checkboxes to hide columns in the table showing your submitted items. - Return to the batch item modification page and submit your batch again. - The columns you selected should still be hidden. - Submit a batch of items for deletion. - The same columns should be hidden here too. --- koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js | 191 +++++++++++----------- 1 file changed, 96 insertions(+), 95 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js +++ a/koha-tmpl/intranet-tmpl/prog/js/pages/batchMod.js @@ -1,86 +1,86 @@ +/* global dataTablesDefaults allColumns */ // Set expiration date for cookies - var date = new Date(); - date.setTime(date.getTime()+(365*24*60*60*1000)); - var expiration = date.toGMTString(); +var date = new Date(); +date.setTime(date.getTime() + (365 * 24 * 60 * 60 * 1000)); - -function hideColumns(){ - valCookie = $.cookie("showColumns"); - if(valCookie){ - valCookie = valCookie.split("/"); - $("#showall").prop("checked", false).parent().removeClass("selected"); - for( i=0; i