Versionsliste nach Anlegen einer Version aktualisieren
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 13 May 2013 13:52:05 +0000 (15:52 +0200)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:03:23 +0000 (13:03 +0200)
SL/Controller/RequirementSpecVersion.pm

index 7a5c6f2..1a4557e 100644 (file)
@@ -79,10 +79,12 @@ sub action_create {
     return $self->js->error($::locale->text('Saving failed. Error message from the database: #1'), $db->error)->render($self);
   }
 
-  my $html = $self->render('requirement_spec/_version', { output => 0 }, requirement_spec => $self->requirement_spec);
+  my $version_info_html = $self->render('requirement_spec/_version',     { output => 0 }, requirement_spec => $self->requirement_spec);
+  my $version_list_html = $self->render('requirement_spec_version/list', { output => 0 });
 
   $self->js
-    ->html('#requirement_spec_version', $html)
+    ->html('#requirement_spec_version', $version_info_html)
+    ->html('#versioned_copies_list',    $version_list_html)
     ->jqmClose('.jqmWindow')
     ->render($self);
 }