From 5187eea8b059d8e164329d73628d6c0b75567441 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 13 Mar 2013 16:04:38 +0100 Subject: [PATCH] =?utf8?q?Pflichtenhefttextbl=C3=B6cke:=20nach=20Anlegen?= =?utf8?q?=20Node=20im=20Baum=20fokussieren?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/RequirementSpecTextBlock.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/Controller/RequirementSpecTextBlock.pm b/SL/Controller/RequirementSpecTextBlock.pm index 931c27d59..c4f37de10 100644 --- a/SL/Controller/RequirementSpecTextBlock.pm +++ b/SL/Controller/RequirementSpecTextBlock.pm @@ -126,6 +126,7 @@ sub action_ajax_create { SL::ClientJS->new ->replaceWith('#' . $::form->{form_prefix} . '_form', $html) ->jstree->create_node('#tree', $insert_after ? ('#tb-' . $insert_after, 'after') : ('#tb-' . ($attributes->{output_position} == 0 ? 'front' : 'back'), 'last'), $node) + ->jstree->select_node('#tree', '#tb-' . $self->text_block->id) ->render($self); } -- 2.20.1