]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 616197: Wrap long bug summaries in dependency graphs, to avoid horizontal scrolling
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 23 Jan 2015 11:09:57 +0000 (12:09 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 23 Jan 2015 11:09:57 +0000 (12:09 +0100)
r=gerv a=glob

showdependencygraph.cgi

index d93c1c875d031688c7eb9b13c036c7c0b84340b7..129964e99badb8b68d2b24e9ef590a7cf47bb439 100755 (executable)
@@ -194,6 +194,7 @@ foreach my $k (@bug_ids) {
         if (Bugzilla->params->{'utf8'}) {
             utf8::encode($summary) if utf8::is_utf8($summary);
         }
+        $summary = wrap_comment($summary);
         $summary =~ s/([\\\"])/\\$1/g;
         push(@params, qq{label="$k\\n$summary"});
     }