You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2015/11/11 17:27:55 UTC

ambari git commit: AMBARI-13838. "oozie Web UI" link is not visible under OOZIE->Quick links oozie service did not get started through "Start All Services" action

Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 4a4f37dff -> a29826854


AMBARI-13838. "oozie Web UI" link is not visible under OOZIE->Quick links oozie service did not get started through "Start All Services" action


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

Branch: refs/heads/branch-2.1
Commit: a2982685497aad8c42d94df238ad8897d81238d5
Parents: 4a4f37d
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Nov 11 18:19:32 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Nov 11 18:27:51 2015 +0200

----------------------------------------------------------------------
 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/a2982685/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 fb48cb9..c3eb6a9 100644
--- a/ambari-web/app/views/common/quick_view_link_view.js
+++ b/ambari-web/app/views/common/quick_view_link_view.js
@@ -132,7 +132,7 @@ App.QuickViewLinks = Em.View.extend({
     var self = this;
     var quickLinks = [];
     var hosts = this.setHost(response, this.get('content.serviceName'));
-    if (!hosts || !this.get('content.quickLinks')) {
+    if (hosts.length === 0 || !this.get('content.quickLinks')) {
       quickLinks = [{
           label: this.t('quick.links.error.label'),
           url: 'javascript:alert("' + this.t('contact.administrator') + '");return false;'