[Koha-bugs] [Bug 12320] $.cookie('foo', null) deprecated

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 21 19:49:15 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12320

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38600|0                           |1
        is obsolete|                            |

--- Comment #3 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 39367
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39367&action=edit
[SIGNED-OFF] 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 at gmail.com>
Works as described, no errors

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list