Can't use encodeURI and decodeURI for everything with persist_helper (in particular...
authorJason Etheridge <jason@esilibrary.com>
Wed, 18 May 2011 02:24:21 +0000 (22:24 -0400)
committerJason Etheridge <jason@esilibrary.com>
Wed, 18 May 2011 02:44:21 +0000 (22:44 -0400)
commitfd89ee7c82cb3bd7159740d2d9d4431df2889ee9
tree7454101da9605fc8139e1d174a85b56f7a6b6669
parent52f1b223e40fe7362feeebc0ce6f53d6f0c30895
Can't use encodeURI and decodeURI for everything with persist_helper (in particular, something like "%macro1% %macro2%" as a custom entry in the label interface), so try/catch them and fall back to the original behavior.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js