From 3bc88288d2d231681dcd26a5fc3ea5845b68c9e9 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 13 May 2013 15:52:05 +0200 Subject: [PATCH] Versionsliste nach Anlegen einer Version aktualisieren --- SL/Controller/RequirementSpecVersion.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SL/Controller/RequirementSpecVersion.pm b/SL/Controller/RequirementSpecVersion.pm index 7a5c6f275..1a4557e9b 100644 --- a/SL/Controller/RequirementSpecVersion.pm +++ b/SL/Controller/RequirementSpecVersion.pm @@ -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); } -- 2.20.1