summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorMark Macdonald2012-10-19 11:43:09 (EDT)
committer skaegi2012-10-19 11:47:01 (EDT)
commitc814061036a171aaa950c2943c9f90a7225b7163 (patch)
treedbf8aed70025f2b4c6c09e4264a69f53cd6cbb49
parent1edee2edc659df5f41104dac656c1333140ff55a (diff)
downloadorg.eclipse.orion.client-c814061036a171aaa950c2943c9f90a7225b7163.zip
org.eclipse.orion.client-c814061036a171aaa950c2943c9f90a7225b7163.tar.gz
org.eclipse.orion.client-c814061036a171aaa950c2943c9f90a7225b7163.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));
}
}
});