summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorGabriel Luong2013-06-25 10:39:03 (EDT)
committer Mark Macdonald2013-06-27 12:28:00 (EDT)
commited766822bdfbe2a7080f1cfba6df4c3a6383528a (patch)
treeed8c0d04f8a24e5354328335ac5efcf7a22eb684
parent31c8cfb1e1af38fefebfc80bbdb8451942db880d (diff)
downloadorg.eclipse.orion.client-ed766822bdfbe2a7080f1cfba6df4c3a6383528a.zip
org.eclipse.orion.client-ed766822bdfbe2a7080f1cfba6df4c3a6383528a.tar.gz
org.eclipse.orion.client-ed766822bdfbe2a7080f1cfba6df4c3a6383528a.tar.bz2
Bug 411607 - Combine functions invoked by event listener on hashchange in setup.js
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/edit/setup.js2
1 files changed, 0 insertions, 2 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 6947577..ddc68f3 100644
--- a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
+++ b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js
@@ -381,8 +381,6 @@ exports.setUpEditor = function(serviceRegistry, preferences, isReadOnly){
});
window.addEventListener("hashchange", function() { //$NON-NLS-0$
inputManager.setInput(window.location.hash);
- });
- window.addEventListener("hashchange", function() { //$NON-NLS-0$
// inform the sidebar
sidebarNavInputManager.processHash(window.location.hash);
});