freetranslation.com - button disabled onclick, should handle onpageshow

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
13 years ago
4 years ago

People

(Reporter: ria.klaassen, Unassigned)

Tracking

(Blocks: 1 bug)

Details

(URL)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051116 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051116 Firefox/1.6a1

Can't do a second search at http://www.freetranslation.com/

Reproducible: Always

Steps to Reproduce:
1. Go to http://www.freetranslation.com/
2. Enter a word to translate e.g. the word repassant from French to English and click on the button "Free Translation".
3. Click on the toolbar Back Button and try to enter another search.

Actual Results:  
Can't do another search, for the "Free Translation" button is not available any more.

Expected Results:  
It works with browser.sessionhistory.max_total_viewers to 0; it should also work with bfcache enabled.

Could not find a duplicate :?

Comment 1

13 years ago
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051110 Firefox/1.5

Same here.  Reloading the page clears the problem.  I guess that JS is used to alter the "Free Translation" button when clicked, but this is not reversed when going back.
Blocks: 274784
Sites need to use the new events introduced with bfcache to fix this kind of thing. The button is disabled onclick and then never re-enabled. See http://developer.mozilla.org/en/docs/Using_Firefox_1.5_caching .
Assignee: nobody → english-other
Status: UNCONFIRMED → NEW
Component: History: Session → English Other
Ever confirmed: true
OS: Windows XP → All
Product: Core → Tech Evangelism
QA Contact: history.session → english-other
Hardware: PC → All
Summary: Bfcache problem at freetranslation.com → freetranslation.com - button disabled onclick, should handle onpageshow
Version: Trunk → unspecified
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20091201 Minefield/3.7a1pre

This seems fixed now.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.