Loop protect for org unit editor
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 16 Jun 2011 02:03:26 +0000 (22:03 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 16 Jun 2011 02:03:26 +0000 (22:03 -0400)
commit36ef5578e6ffb4045f087c49d907899003098098
tree9a3247b14b171689a1bff3e8af30b8ab69133448
parentb42682021989dd67cfa5a4bfeb8ad7684bfbf2d1
Loop protect for org unit editor

Don't write to backend store and mark field as invalid when a
parent_ou loop is detected during edit.

Note: Multiple edits that may introduce a loop are not guaranteed
to save properly unless saved one at a time as they are made.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/web/conify/global/actor/org_unit.html