summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorsfranklin2013-02-21 15:30:17 (EST)
committer Mark Macdonald2013-02-21 15:30:17 (EST)
commit0fa07fbc93ba0b0326d5e4e40dee203a0d6444f6 (patch)
tree924f927de17f61d2f31eea0e8d50903d80664521
parentf46ddac1ef2b9d85bed37d3b7ecbd05bbcf250fb (diff)
downloadorg.eclipse.orion.client-0fa07fbc93ba0b0326d5e4e40dee203a0d6444f6.zip
org.eclipse.orion.client-0fa07fbc93ba0b0326d5e4e40dee203a0d6444f6.tar.gz
org.eclipse.orion.client-0fa07fbc93ba0b0326d5e4e40dee203a0d6444f6.tar.bz2
Bug 401449 - table patch, two of twov20130221-2030
-rw-r--r--bundles/org.eclipse.orion.client.ui/web/navigate/table.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.orion.client.ui/web/navigate/table.js b/bundles/org.eclipse.orion.client.ui/web/navigate/table.js
index 1474f53..94b6c3e 100644
--- a/bundles/org.eclipse.orion.client.ui/web/navigate/table.js
+++ b/bundles/org.eclipse.orion.client.ui/web/navigate/table.js
@@ -164,9 +164,10 @@ define(['require', 'i18n!orion/navigate/nls/messages', 'orion/bootstrap', 'orion
commandService.registerCommandContribution("selectionTools", "orion.importSFTP", 4, "orion.selectionGroup/orion.importExportGroup"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
commandService.registerCommandContribution("selectionTools", "eclipse.exportSFTPCommand", 5, "orion.selectionGroup/orion.importExportGroup"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
- mFileCommands.createAndPlaceFileCommandsExtension(serviceRegistry, commandService, explorer, "pageActions", "selectionTools", "orion.selectionGroup"); //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
- // Must happen after the above call, so that all the open with commands are registered when we create our navigation links.
- var navOutliner = new mNavOutliner.NavigationOutliner({parent: "favorites", commandService: commandService, serviceRegistry: serviceRegistry}); //$NON-NLS-0$
+ mFileCommands.createAndPlaceFileCommandsExtension(serviceRegistry, commandService, explorer, "pageActions", "selectionTools", "orion.selectionGroup").then(function() { //$NON-NLS-2$ //$NON-NLS-1$ //$NON-NLS-0$
+ // Must happen after the above call, so that all the open with commands are registered when we create our navigation links.
+ new mNavOutliner.NavigationOutliner({parent: "favorites", commandService: commandService, serviceRegistry: serviceRegistry}); //$NON-NLS-0$
+ });
window.addEventListener("hashchange", function() {refresh();}, false); //$NON-NLS-0$
});