Revision 786437b6
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/Controller/RequirementSpecItem.pm | ||
---|---|---|
197 | 197 |
->jstree->create_node('#tree', $insert_after ? ('#fb-' . $insert_after, 'after') : ('#sections', 'last'), $node) |
198 | 198 |
->jstree->select_node('#tree', '#fb-' . $self->item->id); |
199 | 199 |
return $self->add_new_item_form_after_create |
200 |
->reinit_widgets |
|
200 | 201 |
->render($self); |
201 | 202 |
} |
202 | 203 |
|
... | ... | |
208 | 209 |
->replaceWith('#' . $prefix . '_form', $html) |
209 | 210 |
->hide('#section-list-empty') |
210 | 211 |
->jstree->create_node('#tree', $insert_after ? ('#fb-' . $insert_after, 'after') : ('#fb-' . $self->item->parent_id, 'last'), $node) |
212 |
->reinit_widgets |
|
211 | 213 |
->jstree->select_node('#tree', '#fb-' . $self->item->id); |
212 | 214 |
|
213 | 215 |
$self->replace_bottom($self->item->parent) if $type eq 'sub-function-block'; |
... | ... | |
293 | 295 |
->html('#section-header-' . $self->item->id, $html) |
294 | 296 |
->show('#section-header-' . $self->item->id) |
295 | 297 |
->jstree->rename_node('#tree', '#fb-' . $self->item->id, $::request->presenter->requirement_spec_item_tree_node_title($self->item)) |
298 |
->prop('#fb-' . $self->item->id, 'title', $self->item->content_excerpt) |
|
296 | 299 |
->render($self); |
297 | 300 |
} |
298 | 301 |
|
... | ... | |
307 | 310 |
$self->js |
308 | 311 |
->remove('#' . $prefix . '_form') |
309 | 312 |
->replaceWith('#' . $id_prefix . 'top-' . $self->item->id, $html_top) |
313 |
->prop('#fb-' . $self->item->id, 'title', $self->item->content_excerpt) |
|
310 | 314 |
->jstree->rename_node('#tree', '#fb-' . $self->item->id, $::request->presenter->requirement_spec_item_tree_node_title($self->item)); |
311 | 315 |
|
312 | 316 |
$self->replace_bottom($self->item, id_prefix => $id_prefix); |
Auch abrufbar als: Unified diff
Pflichtenheftitems & -textblöcke: Tooltips im Baum mit Inhaltsauszug anzeigen