LP#1086458: remove unecessary anonymous hashes when calling xulG.set_tab() user/gmcharlt/lp1086458_fix_receipt_printing_leak_rel_2_3
authorGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 16:21:58 +0000 (09:21 -0700)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 16:41:09 +0000 (09:41 -0700)
commiteab0f1c96dbc9b472936e77bd9b1fc33d7f17e38
tree6f7c144611852864619e1e8099aa0ff746b8875b
parentd5972af1e638feb584c9c9c21b0afbe92caaf60c
LP#1086458: remove unecessary anonymous hashes when calling xulG.set_tab()

This follows up on observations made by Steven Chan that
suggests that even the act of creating an anonymous hash and
passing it to a global function can cause (I assume) JavaScript
execution contexts to be leaked.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/main/menu.js