aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Luong2013-06-24 13:53:50 (EDT)
committerskaegi2013-06-24 14:37:51 (EDT)
commit127aed3470bd716e9a0b66e94f7b32802f790381 (patch)
tree8d54464dfc332c6cf4debd0c69649296382dddea
parentc40c3ef271cd9f2a6fc004aa1e3cb360740dc625 (diff)
downloadorg.eclipse.orion.client-127aed3470bd716e9a0b66e94f7b32802f790381.zip
org.eclipse.orion.client-127aed3470bd716e9a0b66e94f7b32802f790381.tar.gz
org.eclipse.orion.client-127aed3470bd716e9a0b66e94f7b32802f790381.tar.bz2
Bug 411513 - Both editor and navigator now showing [+] to create new file and folder message
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/edit/setup.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
index 5d22db4..e424c37 100644
--- a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
+++ b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
@@ -267,17 +267,6 @@ exports.setUpEditor = function(serviceRegistry, preferences, isReadOnly){
});
inputManager.addEventListener("InputChanged", function(evt) { //$NON-NLS-0$
if (evt.input === null || typeof evt.input === "undefined") {//$NON-NLS-0$
- var noFile = document.createElement("div"); //$NON-NLS-0$
- noFile.classList.add("noFile"); //$NON-NLS-0$
- noFile.textContent = messages["NoFile"];
- var plusIcon = document.createElement("span"); //$NON-NLS-0$
- plusIcon.classList.add("core-sprite-addcontent"); //$NON-NLS-0$
- plusIcon.classList.add("icon-inline"); //$NON-NLS-0$
- plusIcon.classList.add("imageSprite"); //$NON-NLS-0$
- lib.processDOMNodes(noFile, [plusIcon]);
-
- lib.empty(editorDomNode);
- editorDomNode.appendChild(noFile);
return;
}
var metadata = evt.metadata;