]> git.koha-community.org Git - koha.git/commit
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)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 7 Jun 2015 07:55:07 +0000 (19:55 +1200)
commit433441685b68effebdba5876103c3a08cf62f6ee
tree3761bb8518fdeaeca25d1dd4dfe55ccea82299d3
parent1b56130e80751bb245757af3698c41aefc87bf88
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>
(cherry picked from commit 04f5e7d4e7db833c18afe27a4dc4fd5b66b41099)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
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