diff --git a/cat-home/src/main/webapp/js/transaction.js b/cat-home/src/main/webapp/js/transaction.js
index 019df34f9a531556b1d899a5bd8769ac2becf4f3..dca5b841d630d938c1e54869a6663cad0cad3bb7 100644
--- a/cat-home/src/main/webapp/js/transaction.js
+++ b/cat-home/src/main/webapp/js/transaction.js
@@ -3,18 +3,18 @@ $(function(){
var types = data["types"];
for (i in types) {
var type = types[i];
- var sampleid = type.failMessageUrl != null ? type.failMessageUrl : type.successMessageUrl;
+ var sampleurl = type.failMessageUrl != null ? "fail" : "success";
var stat = "" + type.min + "/" + type.max + "/" + type.avg + "/" + type.std;
- tabledata.push({"type":type.id, "total":type.totalCount, "fail":type.failCount, "failPercent":type.failPercent, "sample":"link", "stat":stat});
+ tabledata.push({"type":type.id, "total":type.totalCount, "fail":type.failCount, "failPercent":type.failPercent, "sample":sampleurl, "stat":stat});
}
}
);
domainLink = function(domain, now){
if(domain == now) {
- return "[ "+domain+" ]";
+ return "[ "+domain+" ]";
} else {
- return "[ "+domain+" ]";
+ return "[ "+domain+" ]";
}
};