LP1053526 - Don't inadvertently modify the in-memory org tree when printing
authorJason Etheridge <jason@esilibrary.com>
Thu, 20 Sep 2012 17:10:15 +0000 (13:10 -0400)
committerBen Shum <bshum@biblio.org>
Mon, 4 Feb 2013 15:18:24 +0000 (10:18 -0500)
commit77be46a2947c16cceae185877b6685904ae54f65
tree2f0a5e01be33668f83d24c4e81b67fc7650d308d
parent5ad1fd55868f51fb2e72d8c901da617fd86f9494
LP1053526 - Don't inadvertently modify the in-memory org tree when printing

To see an example of this causing a problem, load Holdings Maintenance for
an arbitrary bib record with items. Make sure the Hide Empty Libs checkbox
is checked. Hit the Print button at the bottom of the UI (it's okay to then
Cancel the print). Then hit Refresh. It should result in an org.children()
is null error.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/xul/staff_client/chrome/content/util/list.js