Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339762 - [client] Back button kills side-by-side compare on firefox
Summary: [client] Back button kills side-by-side compare on firefox
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-11 15:40 EST by Andrew Niefer CLA
Modified: 2011-09-01 11:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.