summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Moffatt <emoffatt@ca.ibm.com>2015-07-14 14:22:14 -0400
committerJohn Arthorne <John_Arthorne@ca.ibm.com>2015-07-17 09:23:14 -0400
commitec5c6c144c853034eb323c195267873be1d00017 (patch)
tree8989668667dd63acff7ac9cef5e0e3c67dacd212
parenta382fb9efef9c5bbdaecdf20f8cae2df107b5a2e (diff)
downloadorg.eclipse.orion.client-origin/stable_20150713.zip
org.eclipse.orion.client-origin/stable_20150713.tar.gz
org.eclipse.orion.client-origin/stable_20150713.tar.bz2
Bug 472622 - Popups and tooltips are showing multiple contentorigin/stable_20150713
-rw-r--r--bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js b/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js
index 311b6b8..8b58386 100644
--- a/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js
+++ b/bundles/org.eclipse.orion.client.editor/web/orion/editor/tooltip.js
@@ -361,6 +361,9 @@ function Tooltip (view) {
}
if (newContentsDiv) {
+ if (this._tooltipContents) {
+ this._tooltipDiv.removeChild(this._tooltipContents);
+ }
this._tooltipContents = newContentsDiv;
this._tooltipDiv.appendChild(newContentsDiv);
}