Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 419144
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.ui/web/orion/fileCommands.js (-4 / +2 lines)
Lines 821-829 define(['i18n!orion/navigate/nls/messages', 'require', 'orion/webui/littlelib', Link Here
821
				var createFunction = function(name, url) {
821
				var createFunction = function(name, url) {
822
					if (name && url) {
822
					if (name && url) {
823
						var deferred = fileClient.createProject(explorer.treeRoot.ChildrenLocation, name, url, true);
823
						var deferred = fileClient.createProject(explorer.treeRoot.ChildrenLocation, name, url, true);
824
						var ex = explorer;
824
						progressService.showWhile(deferred, i18nUtil.formatMessage(messages["Linking to ${0}"], url)).then(function(newFolder) {
825
						progressService.showWhile(deferred, i18nUtil.formatMessage(messages["Linking to ${0}"], url)).then(function() {
825
							dispatchModelEventOn(explorer, {type: "create", parent: explorer.treeRoot, newValue: newFolder });
826
						    ex.loadResourceList(ex.treeRoot.Path, true); // refresh the root
827
						}, errorHandler);
826
						}, errorHandler);
828
					}
827
					}
829
				};
828
				};
830
- 

Return to bug 419144