aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsfranklin2013-02-21 15:30:17 (EST)
committerMark Macdonald2013-02-21 15:30:17 (EST)
commitd2573f03f864a3e4b80ee83049fc2aadbaf75430 (patch)
tree924f927de17f61d2f31eea0e8d50903d80664521
parentbebc3eec566ffb287d4edf3bcd6abc01e42b2f39 (diff)
downloadorg.eclipse.orion.client-d2573f03f864a3e4b80ee83049fc2aadbaf75430.zip
org.eclipse.orion.client-d2573f03f864a3e4b80ee83049fc2aadbaf75430.tar.gz
org.eclipse.orion.client-d2573f03f864a3e4b80ee83049fc2aadbaf75430.tar.bz2
Bug 401449 - table patch, two of two
-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$
});