From 8e6416fb1d2c6852d4a53459227f2014888e8ac4 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 22 Apr 2013 10:05:27 +0200 Subject: [PATCH] Pflichtenhefte: beim Bearbeiten nicht sichtbarer Items Sektion anzeigen --- SL/Controller/RequirementSpecItem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/RequirementSpecItem.pm b/SL/Controller/RequirementSpecItem.pm index 0a5463723..66a6cbf1d 100644 --- a/SL/Controller/RequirementSpecItem.pm +++ b/SL/Controller/RequirementSpecItem.pm @@ -216,7 +216,7 @@ sub action_ajax_edit { if (!$self->is_item_visible) { # Show section/item to edit if it is not visible. - my $html = $self->render('requirement_spec_item/_section', { output => 0 }, requirement_spec_item => $self->item); + my $html = $self->render('requirement_spec_item/_section', { output => 0 }, requirement_spec_item => $self->item->section); $js->html('#column-content', $html); } -- 2.20.1