You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by xi...@apache.org on 2015/08/21 02:38:21 UTC

ambari git commit: AMBARI-12773-2. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG)

Repository: ambari
Updated Branches:
  refs/heads/trunk 4e5adb265 -> 188d39c2e


AMBARI-12773-2. Ranger quick link in Ambari 2.1.0 with HDP-2.2 does not track the http, https port value.(XIWANG)


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

Branch: refs/heads/trunk
Commit: 188d39c2e71efbdd007508c6eca0c97ba15d5bda
Parents: 4e5adb2
Author: Xi Wang <xi...@apache.org>
Authored: Thu Aug 20 14:11:05 2015 -0700
Committer: Xi Wang <xi...@apache.org>
Committed: Thu Aug 20 17:37:49 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/views/common/quick_view_link_view.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/188d39c2/ambari-web/app/views/common/quick_view_link_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/quick_view_link_view.js b/ambari-web/app/views/common/quick_view_link_view.js
index acb7570..e76127e 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -411,7 +411,7 @@ App.QuickViewLinks = Em.View.extend({
       }
     }
     var site = configProperties.findProperty('type', item.get('site'));
-    var propertyValue = site && site.properties[config];
+    var propertyValue = site && site.properties && site.properties[config];
     if (!propertyValue) {
       return defaultPort;
     }