X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/90f4ba5dc6212592754cdddd082640103ee15884..862bc8ce30cd40b67d2856ac7f1d11d5e4322f09:/SL/Presenter/RequirementSpecTextBlock.pm diff --git a/SL/Presenter/RequirementSpecTextBlock.pm b/SL/Presenter/RequirementSpecTextBlock.pm index c0b983a7c..8a209d373 100644 --- a/SL/Presenter/RequirementSpecTextBlock.pm +++ b/SL/Presenter/RequirementSpecTextBlock.pm @@ -14,13 +14,13 @@ use SL::JSON; sub requirement_spec_text_block_jstree_data { my ($self, $text_block, %params) = @_; - my $class = 'text-block-context-menu'; + my $class = 'text-block-context-menu tooltip'; $class .= ' flagged' if $text_block->is_flagged; return { data => $text_block->title || '', metadata => { id => $text_block->id, type => 'text-block' }, - attr => { id => "tb-" . $text_block->id, href => $params{href} || '#', class => $class }, + attr => { id => "tb-" . $text_block->id, href => $params{href} || '#', class => $class, title => $text_block->content_excerpt }, }; }