Format View:
@@ -109,6 +110,7 @@
init : function() {
druid.common.buildHead(2);
this.ajaxRequestForBasicInfo();
+ $("#viewJsonApi").attr("href", 'sql-' + sqlId + '.json');
},
ajaxRequestForBasicInfo : function() {
diff --git a/src/main/resources/support/http/resources/websession-detail.html b/src/main/resources/support/http/resources/websession-detail.html
index 06544c279c..cb4195341a 100644
--- a/src/main/resources/support/http/resources/websession-detail.html
+++ b/src/main/resources/support/http/resources/websession-detail.html
@@ -13,6 +13,7 @@
@@ -94,6 +95,7 @@
init : function() {
druid.common.buildHead(4);
this.ajaxRequestForBasicInfo();
+ $("#viewJsonApi").attr("href", 'websession-' + sessionId + '.json');
},
ajaxRequestForBasicInfo : function() {
diff --git a/src/main/resources/support/http/resources/weburi-detail.html b/src/main/resources/support/http/resources/weburi-detail.html
index ece8775bbd..27cbe646d6 100644
--- a/src/main/resources/support/http/resources/weburi-detail.html
+++ b/src/main/resources/support/http/resources/weburi-detail.html
@@ -14,6 +14,7 @@
@@ -111,6 +112,7 @@
init : function() {
druid.common.buildHead(3);
this.ajaxRequestForBasicInfo();
+ $("#viewJsonApi").attr("href", 'weburi-' + encodeURI(uri) + '.json');
},
ajaxRequestForBasicInfo : function() {