Repository: ambari
Updated Branches:
  refs/heads/trunk 22a8a0bfa -> bc7df89dd


AMBARI-6374 clicking to switch to config group leaves tooltip hanging around. 
(atkach)


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

Branch: refs/heads/trunk
Commit: bc7df89ddc1ecf8b610d19b941e2cf9cda916c35
Parents: 22a8a0b
Author: atkach <[email protected]>
Authored: Thu Jul 3 21:33:15 2014 +0300
Committer: atkach <[email protected]>
Committed: Thu Jul 3 21:33:15 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/helper.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bc7df89d/ambari-web/app/utils/helper.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/helper.js b/ambari-web/app/utils/helper.js
index cfb5303..61f7804 100644
--- a/ambari-web/app/utils/helper.js
+++ b/ambari-web/app/utils/helper.js
@@ -478,9 +478,9 @@ App.format = {
  * @param {DOMElement} self
  * @param {object} options
  */
-App.popover = function(self, options) {
+App.popover = function (self, options) {
   self.popover(options);
-  self.on("remove", function () {
+  self.on("remove DOMNodeRemoved", function () {
     $(this).trigger('mouseleave');
   });
 };
@@ -493,10 +493,10 @@ App.popover = function(self, options) {
  * @param {DOMElement} self
  * @param {object} options
  */
-App.tooltip = function(self, options) {
+App.tooltip = function (self, options) {
   self.tooltip(options);
   /* istanbul ignore next */
-  self.on("remove", function () {
+  self.on("remove DOMNodeRemoved", function () {
     $(this).trigger('mouseleave');
   });
 };

Reply via email to