From: Moritz Bunkus Date: Mon, 13 May 2013 13:52:05 +0000 (+0200) Subject: Versionsliste nach Anlegen einer Version aktualisieren X-Git-Tag: release-3.2.0beta~467^2~155 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3bc88288d2d231681dcd26a5fc3ea5845b68c9e9;p=kivitendo-erp.git Versionsliste nach Anlegen einer Version aktualisieren --- 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); }