]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1655399 webstaff: User perm editor grantable fix
authorBill Erickson <berickxx@gmail.com>
Tue, 10 Jan 2017 17:19:35 +0000 (12:19 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 27 Jan 2017 22:07:08 +0000 (17:07 -0500)
commita2e9d7a1148109ecba504422be996aebfef879b7
tree8095255f0cf319480c05920ddfba35eca22cd2fd
parent029deb6ce6cd2ac4a2858edf786d364909687fc0
LP#1655399 webstaff: User perm editor grantable fix

Correctly handle the boolean grantable flag in the user permission
editor.  In some cases, the boolean 0/1 values returned from storage are
returned as strings.  Cast them to numbers before checking truthiness.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/xul/staff_client/server/patron/user_edit_xhtml.js