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 420727
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.client.ui/web/orion/widgets/nav/mini-nav.js (-8 / +6 lines)
Lines 492-505 Link Here
492
492
493
			var params = PageUtil.matchResourceParameters();
493
			var params = PageUtil.matchResourceParameters();
494
			var navigate = params.navigate, resource = params.resource;
494
			var navigate = params.navigate, resource = params.resource;
495
			if (!navigate) {
495
			var root = params.navigate || this.lastRoot || this.fileClient.fileServiceRootURL(resource || ""); //$NON-NLS-0$
496
				var root = this.lastRoot || this.fileClient.fileServiceRootURL(resource || ""); //$NON-NLS-0$
496
			this.explorer.loadRoot(root).then(function(){
497
				this.explorer.loadRoot(root).then(function(){
497
				if (!_self.explorer) { return; }
498
					if (!_self.explorer) { return; }
498
				_self.explorer.updateCommands();
499
					_self.explorer.updateCommands();
499
				_self.explorer.reveal(_self.editorInputManager.getFileMetadata(), true);
500
					_self.explorer.reveal(_self.editorInputManager.getFileMetadata(), true);
500
			});
501
				});
502
			}
503
		},
501
		},
504
		destroy: function() {
502
		destroy: function() {
505
			if (this.explorer) {
503
			if (this.explorer) {

Return to bug 420727