ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject 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
Date Wed, 11 Nov 2015 16:27:55 GMT
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 <hiveww@gmail.com>
Authored: Wed Nov 11 18:19:32 2015 +0200
Committer: Alex Antonenko <hiveww@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;'


Mime
View raw message