LP#820409 fix org unit admin UI
authorJason Etheridge <jason@esilibrary.com>
Mon, 15 Aug 2011 19:34:07 +0000 (15:34 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 16 Aug 2011 13:12:48 +0000 (09:12 -0400)
commit76c5dbdffe0a8160e6cee8537aa806b993e67640
treef39b20600109e07396454da5f0e977e4652eef85
parent5b224b425c038436cd2026e6024e47bc8f65b007
LP#820409 fix org unit admin UI

This reverts part of 17e659eec3e23caf5d301b33aa5019b672ecd0e8, which was
tightening checks against null and '' to avoid implicit type-casting.

This line var modified_ou = new aou().fromStoreItem( current_ou ); was
producing a fieldmapper object where certain fields were being set to
contain the string "undefined" rather than a null.

The update method would take isdeleted == "undefined" as True.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/web/js/dojo/fieldmapper/Fieldmapper.js