Bug 12320: Remove deprecated construct to delete cookie holdfor
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 28 Apr 2015 10:52:00 +0000 (12:52 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 4 Jun 2015 13:07:26 +0000 (10:07 -0300)
commit04f5e7d4e7db833c18afe27a4dc4fd5b66b41099
tree0af464c1d2cdb0b2a5ad1b51b2dde73ca8f03c20
parent61d9cb28dc7caa33d853dbe37ef6b601a8318aa0
Bug 12320: Remove deprecated construct to delete cookie holdfor

  $.cookie('foo', null);
is deprecated and should be replaced with
  $.removeCookie('foo');

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

Test plan:
1/ Search for a patron
2/ On the patron detail page, click on "search to hold"
3/ Search for records
4/ On the results page, click on "Place hold" > "Forget PATRON"
5/ Reload the page.
6/ The "Place hold" button should not contain the patron anymore

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works as described, no errors

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt