]> git.evergreen-ils.org Git - Evergreen.git/commit
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:36 +0000 (10:18 -0500)
commit64658bb975b6fd9ca5df403e0e810219df97dbfd
tree84093aa1794994c91c317d7e0b8b4f73143fcfb2
parent42980607363da546727ab0e29ae921d907c3cade
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