diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2015-03-10 11:03:31 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2015-03-10 11:03:31 -0400 |
commit | c200efb16dace46d918004629a58d1ca79d50b1e (patch) | |
tree | e2dd674b236bd75408ad6744d23793e5a1ef15c8 | |
parent | 9cb0bd76d1290cc13cf25b9be896cdad8051d15b (diff) | |
download | org.eclipse.orion.client-origin/fixNavigatorFlash.zip org.eclipse.orion.client-origin/fixNavigatorFlash.tar.gz org.eclipse.orion.client-origin/fixNavigatorFlash.tar.bz2 |
only save last file when open successedorigin/fixNavigatorFlash
-rw-r--r-- | bundles/org.eclipse.orion.client.ui/web/edit/setup.js | 2 |
1 files changed, 1 insertions, 1 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 eb1a900..7c9e1e6 100644 --- a/bundles/org.eclipse.orion.client.ui/web/edit/setup.js +++ b/bundles/org.eclipse.orion.client.ui/web/edit/setup.js @@ -220,7 +220,7 @@ objects.mixin(EditorSetup.prototype, { }); inputManager.addEventListener("InputChanged", function(evt) { //$NON-NLS-0$ var metadata = evt.metadata; - sessionStorage.lastFile = PageUtil.hash(); + sessionStorage.lastFile = metadata ? PageUtil.hash() : null; var view = this.getEditorView(evt.input, metadata); this.setEditor(view ? view.editor : null); evt.editor = this.editor; |