From 456042c15171e59341b3ecb1b74d2c4b6fce81cc Mon Sep 17 00:00:00 2001 From: "shrek.wang" Date: Tue, 4 Sep 2012 15:04:16 +0800 Subject: [PATCH] fixes activeConnectionStackTrace.html didn't show data issue --- .../resources/activeConnectionStackTrace.html | 117 +++++++++--------- 1 file changed, 61 insertions(+), 56 deletions(-) diff --git a/src/main/resources/support/http/resources/activeConnectionStackTrace.html b/src/main/resources/support/http/resources/activeConnectionStackTrace.html index 92f0e5e7e8..5f5c3efe29 100644 --- a/src/main/resources/support/http/resources/activeConnectionStackTrace.html +++ b/src/main/resources/support/http/resources/activeConnectionStackTrace.html @@ -1,61 +1,66 @@ - - Druid ActiveConnection StackTrace - - - - - - - -
-

ActiveConnection StackTrace for Datasource - [View JSON API] -

-
- -
-
-
- + + + +
+

ActiveConnection StackTrace for Datasource + [View JSON API] +

+
+ +
+
+ - + for ( var i = 0; i < conntionStackTraceList.length; i++) { + if (i > 0) { + content.push("
"); + } + var conntionStackTrace = conntionStackTraceList[i]; + content.push(""); + } + $("#activeConnectionStackTraceDiv").html(content.join("")); + }, + dataType: "json" + }); + } + } + }(); + + $(document).ready(function() { + druid.activeConnectionStackTrace.init(); + }); + +