summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMark Macdonald2012-10-19 11:43:09 (EDT)
committer skaegi2012-10-19 11:47:01 (EDT)
commitf814a796c72409a5ebcd96acc52309c645f6294d (patch)
treedbf8aed70025f2b4c6c09e4264a69f53cd6cbb49
parent8fbf5717260bf7a9d8c5d215bd38a24c392bcb9b (diff)
downloadorg.eclipse.orion.client-f814a796c72409a5ebcd96acc52309c645f6294d.zip
org.eclipse.orion.client-f814a796c72409a5ebcd96acc52309c645f6294d.tar.gz
org.eclipse.orion.client-f814a796c72409a5ebcd96acc52309c645f6294d.tar.bz2
Bug 392446 - Some command tooltips don't appear
-rw-r--r--bundles/org.eclipse.orion.client.core/web/orion/commands.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/commands.js b/bundles/org.eclipse.orion.client.core/web/orion/commands.js
index 9fd9ac5..c85037c 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/commands.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/commands.js
@@ -131,7 +131,7 @@ define(['i18n!orion/nls/messages', 'require', 'dojo', 'dijit', 'orion/uiUtils',
this.containerNode.textContent = value;
} else if (value) {
dojo.empty(this.containerNode);
- this.containerNode.appendChild(value);
+ this.containerNode.appendChild(value.cloneNode(true));
}
},
@@ -161,7 +161,7 @@ define(['i18n!orion/nls/messages', 'require', 'dojo', 'dijit', 'orion/uiUtils',
}
} else if (content) {
dojo.empty(this.containerNode);
- this.containerNode.appendChild(content);
+ this.containerNode.appendChild(content.cloneNode(true));
}
}
});
@@ -173,7 +173,7 @@ define(['i18n!orion/nls/messages', 'require', 'dojo', 'dijit', 'orion/uiUtils',
this.containerNode.textContent = content;
} else {
dojo.empty(this.containerNode);
- this.containerNode.appendChild(content);
+ this.containerNode.appendChild(content.cloneNode(true));
}
}
});
@@ -272,7 +272,7 @@ define(['i18n!orion/nls/messages', 'require', 'dojo', 'dijit', 'orion/uiUtils',
this.domNode.textContent = content;
} else {
dojo.empty(this.domNode);
- this.domNode.appendChild(content);
+ this.domNode.appendChild(content.cloneNode(true));
}
}
});