Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339762

Summary: [client] Back button kills side-by-side compare on firefox
Product: [ECD] Orion Reporter: Andrew Niefer <aniefer>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: libingw
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Andrew Niefer CLA 2011-03-11 15:40:18 EST
Open a side-by-side compare of a changed file from the git status page.

The compare opens in a new tab, the browser back button for this tab contains 2 pages, pressing the browser button removes one editor and pressing it again removes the other.

Using the browser forward button does not restore the editors.

This is using firefox 3.6.13 on linux.  Things work fine for me on Chrome where the back button is not enabled in the new tab.
Comment 1 libing wang CLA 2011-04-11 17:39:37 EDT
fixed with b210f44e2041fe47f61ce69a9f9b75b88ff204e48.
always init two empty editor containers at the beginning of page load.
Use editor.setText later when real content is fetched.