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/03/17 22:47:25 UTC
ambari git commit: AMBARI-10110. Tooltip on Dashboard is not
disappearing (alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 78a1eb580 -> f751bfa6a
AMBARI-10110. Tooltip on Dashboard is not disappearing (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f751bfa6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f751bfa6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f751bfa6
Branch: refs/heads/trunk
Commit: f751bfa6aed3aeb98792ac435b737a901ad240ed
Parents: 78a1eb5
Author: Alex Antonenko <hi...@gmail.com>
Authored: Tue Mar 17 19:53:10 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Tue Mar 17 23:47:20 2015 +0200
----------------------------------------------------------------------
ambari-web/app/views/main/dashboard/widget.js | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/f751bfa6/ambari-web/app/views/main/dashboard/widget.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/main/dashboard/widget.js b/ambari-web/app/views/main/dashboard/widget.js
index be027c2..558d477 100644
--- a/ambari-web/app/views/main/dashboard/widget.js
+++ b/ambari-web/app/views/main/dashboard/widget.js
@@ -175,6 +175,9 @@ App.DashboardWidgetView = Em.View.extend({
App.tooltip(this.$("[rel='ZoomInTooltip']"), {placement : 'left'});
},
+ willDestroyElement : function() {
+ $('.tooltip').remove();
+ },
/**
* delete widget
* @param {object} event