]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1086458: convert last-print information hash to JSON string before caching
authorGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 15:23:23 +0000 (08:23 -0700)
committerMike Rylander <mrylander@gmail.com>
Thu, 31 Oct 2013 15:31:22 +0000 (11:31 -0400)
commit0c07c042166c8114cf38359de60ac83edcabff39
treee0a9d3ade4e9456f2e9745a04d5b777e4152d834
parent30254da66050e4a6ba1262b62391eb016e83a72f
LP#1086458: convert last-print information hash to JSON string before caching

By serializing the printing message and context information to a
JSON string before caching it, we avoid inadvertantly dragging in
things like Javascript execution contexts and possibly references
to objects created by the checkout interface.  This was contributing
to the staff client memory leaks observed during receipt printing.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/xul/staff_client/chrome/content/util/print.js