summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorGabriel Luong2013-06-24 13:53:50 (EDT)
committer skaegi2013-06-24 14:37:51 (EDT)
commit0631d645049794ec5acd75aef6804132a1e8465f (patch)
tree8d54464dfc332c6cf4debd0c69649296382dddea
parent44416a57525f099517108b257591bb020eb080e0 (diff)
downloadorg.eclipse.orion.client-0631d645049794ec5acd75aef6804132a1e8465f.zip
org.eclipse.orion.client-0631d645049794ec5acd75aef6804132a1e8465f.tar.gz
org.eclipse.orion.client-0631d645049794ec5acd75aef6804132a1e8465f.tar.bz2
Bug 411513 - Both editor and navigator now showing [+] to create new file and folder messagev20130624-1837
-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;