Pflichtenhefte: beim Bearbeiten nicht sichtbarer Items Sektion anzeigen
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 22 Apr 2013 08:05:27 +0000 (10:05 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:03:19 +0000 (13:03 +0200)
SL/Controller/RequirementSpecItem.pm

index 0a54637..66a6cbf 100644 (file)
@@ -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);
   }