From 36ef5578e6ffb4045f087c49d907899003098098 Mon Sep 17 00:00:00 2001 From: Thomas Berezansky Date: Wed, 15 Jun 2011 22:03:26 -0400 Subject: [PATCH] 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 --- Open-ILS/web/conify/global/actor/org_unit.html | 42 ++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/conify/global/actor/org_unit.html b/Open-ILS/web/conify/global/actor/org_unit.html index 726898b446..ff7f506c58 100644 --- a/Open-ILS/web/conify/global/actor/org_unit.html +++ b/Open-ILS/web/conify/global/actor/org_unit.html @@ -288,8 +288,46 @@ > -- 2.11.0