Permalink
Browse files

Updated call node description and truncated length

  • Loading branch information...
1 parent 54fb185 commit 58c29a3fa12080f8f73d38d9ddaf0f016cebd5e8 objectiser committed Nov 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 gadgets/src/main/webapp/calltrace-gadget/gadget.xml
@@ -126,7 +126,7 @@
}
function getCallTypeTitle(task) {
- var title = getTruncatedTitle(task.component + " " + task.operation);
+ var title = getTruncatedTitle(task.operation + ":" + task.component);
if (task.duration != undefined) {
title = title + "[" + task.duration + "ms]";
}
@@ -196,8 +196,8 @@
}
function getTruncatedTitle(title) {
- if (title.length < 20) return title;
- else return title.substring(0, 20) + "...";
+ if (title.length < 25) return title;
+ else return title.substring(0, 25) + "...";
}
function escapeHTML(str) {

0 comments on commit 58c29a3

Please sign in to comment.