Commit 35afc869 authored by Guillaume Lépine's avatar Guillaume Lépine
Browse files

FORMS-691: remove all controls linked to the deleted display

parent 568c2710
......@@ -97,7 +97,7 @@ public final class FormDisplayService
{
ControlHome.remove( control.getId( ) );
}
ControlHome.removeByControlTarget( formDisplayCompositeId, ControlType.CONDITIONAL );
ControlHome.removeByControlTarget( formDisplayToDelete.getId( ), ControlType.CONDITIONAL );
// Delete the Question and its Entry
QuestionHome.remove( formDisplayCompositeId );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment