ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [17/35] git commit: AMBARI-7016 Tooltip for Final, Override and Remove buttons on Configs tab not present somethimes. (Max Shepel via atkach)
Date Wed, 27 Aug 2014 14:04:58 GMT
AMBARI-7016 Tooltip for Final, Override and Remove buttons on Configs tab not present somethimes.
(Max Shepel via atkach)


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

Branch: refs/heads/branch-alerts-dev
Commit: 6d098ca8af8ba2244469a832b2ff4b1d64160760
Parents: 9faeaf5
Author: atkach <atkach@hortonworks.com>
Authored: Tue Aug 26 18:54:34 2014 +0300
Committer: atkach <atkach@hortonworks.com>
Committed: Tue Aug 26 18:54:34 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/configs/overriddenProperty_view.js | 1 +
 ambari-web/app/views/common/configs/services_config.js         | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6d098ca8/ambari-web/app/views/common/configs/overriddenProperty_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/overriddenProperty_view.js b/ambari-web/app/views/common/configs/overriddenProperty_view.js
index fc73474..079084e 100644
--- a/ambari-web/app/views/common/configs/overriddenProperty_view.js
+++ b/ambari-web/app/views/common/configs/overriddenProperty_view.js
@@ -25,6 +25,7 @@ App.ServiceConfigView.SCPOverriddenRowsView = Ember.View.extend({
   categoryConfigs: null, // just declared as viewClass need it
 
   didInsertElement: function (){
+    Em.$('body>.tooltip').remove();
     if (this.get('isDefaultGroupSelected')) {
       var overrides = this.get('serviceConfigProperty.overrides');
       overrides.forEach(function(overriddenSCP) {

http://git-wip-us.apache.org/repos/asf/ambari/blob/6d098ca8/ambari-web/app/views/common/configs/services_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/configs/services_config.js b/ambari-web/app/views/common/configs/services_config.js
index abdaacf..2fc787f 100644
--- a/ambari-web/app/views/common/configs/services_config.js
+++ b/ambari-web/app/views/common/configs/services_config.js
@@ -448,7 +448,8 @@ App.ServiceConfigsByCategoryView = Ember.View.extend(App.UserPref, {
     } else {
       this.$('.accordion-body').show();
     }
-    App.tooltip(this.$('[data-toggle=tooltip]'),{
+    $('body').tooltip({
+      selector: '[data-toggle=tooltip]',
       placement: 'top'
     });
     this.updateReadOnlyFlags();


Mime
View raw message