ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oleew...@apache.org
Subject [28/50] [abbrv] ambari git commit: AMBARI-18182 After the upgrade of jetty, zeppelin-view fails to load (Prabhjyot Singh via dsen)
Date Thu, 18 Aug 2016 10:30:04 GMT
AMBARI-18182 After the upgrade of jetty, zeppelin-view fails to load (Prabhjyot Singh via dsen)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9ac9e9b8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9ac9e9b8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9ac9e9b8

Branch: refs/heads/branch-dev-logsearch
Commit: 9ac9e9b8f2fff479918cbdcdd9b742cfd173dc22
Parents: 42fd20d
Author: Dmytro Sen <dsen@apache.org>
Authored: Wed Aug 17 17:05:32 2016 +0300
Committer: Dmytro Sen <dsen@apache.org>
Committed: Wed Aug 17 17:05:32 2016 +0300

----------------------------------------------------------------------
 contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9ac9e9b8/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp
----------------------------------------------------------------------
diff --git a/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp b/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp
index 460ccbe..cce6bc5 100644
--- a/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp
+++ b/contrib/views/zeppelin/src/main/resources/WEB-INF/index.jsp
@@ -42,9 +42,8 @@
 var $ = jQuery = parent.jQuery;
 var iframe = document.querySelector('#zeppelinIFrame');
 var messageContainer = document.querySelector('#messageContainer');
-var port = "${port}";
-var publicName = "${publicName}";
-var serviceCheckResponse = $.parseJSON('${serviceCheckResponse}');
+
+var serviceCheckResponse = $.parseJSON('<%= request.getAttribute("serviceCheckResponse")
%>');
 
 if (serviceCheckResponse.status === "SUCCESS") {
     messageContainer.style.display = "none";


Mime
View raw message