Koha/koha-tmpl/intranet-tmpl/prog/en/js
Jonathan Druart 0fa0297d7d Bug 12320: Remove deprecated construct to delete cookie showColumns
$.cookie('foo', null);
is deprecated and should be replaced with
  $.removeCookie('foo');

This patch replaces the occurrences for the "showColumns" cookie.

Before this patch, there was a bug on the batchmod tools.
To reproduce the issue:
1/ Go on the Batch item modification tool
2/ Fill the textarea with barcodes and submit
3/ Click on some column names (to create the cookie)
4/ Click on 'Show all columns" (to set the cookie to null)
5/ Don't submit and repeat steps 1 & 2
6/ You should see a js error:
  Error: Syntax error, unrecognized expression: :nth-child
    ...break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecogni...

Test plan:
Confirm the issue has gone away and there is no regression on the column
selection

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
No js error, no regressions, no errors

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-06-04 10:07:26 -03:00
..
pages Bug 12320: Remove deprecated construct to delete cookie showColumns 2015-06-04 10:07:26 -03:00
acq.js Bug 12839: aqbooksellers.gstreg is never used 2014-12-03 11:34:48 -03:00
additem.js Bug 10480: Use the framework plugin object in cataloguing 2015-04-16 14:48:36 -03:00
ajax.js
background-job-progressbar.js
basket.js Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00
basketgroup.js Bug 10533: move JavaScript functions for basket groups to a separate file 2014-04-18 19:25:12 +00:00
cataloging.js Bug 10299: authority plugin - authority field are reversed 2015-05-19 11:46:24 -03:00
checkouts.js Bug 13982: Checkouts table not sorting on correct column 2015-05-06 13:48:02 -03:00
datatables.js Bug 13419: Add filters on the list table 2015-04-22 14:59:05 -03:00
holds.js Bug 9528: Add delivery branch to the place hold display 2015-04-30 16:45:26 -03:00
localcovers.js Bug 11982 - Images now display properly in the details section. 2015-03-30 13:45:38 -03:00
members.js Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00
merge-record.js Bug 10648 - In records merge greatest field can not be added 2014-08-05 20:17:17 -03:00
offlinecirc.js Bug 10240: QA follow-up 2013-10-11 01:57:03 +00:00
prevent_submit.js
staff-global.js Bug 12320: Remove deprecated construct to delete cookie holdfor 2015-06-04 10:07:26 -03:00
xmlControlfield.js Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00