Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.0.X EE, 6.1.X EE, 6.2.0 CE M4
-
Component/s: Infrastructure, Infrastructure > Browsers, UI > JavaScript & CSS
-
Environment:Tomcat 7 + MySQL 5. Portal 6.1.x EE GIT ID: 60f589b832cb1368b7cf98a52f1e8979d9dc8266.
Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: 09d3044ba76fdf18456b163d7950bed1e4fa64b1.
-
Branch Version/s:6.1.x, 6.0.x
-
Backported to Branch:Committed
-
Epic/Theme:
-
Fix Priority:3
-
Similar Issues:
Description
Only reproducible on Firefox!
After a user tries to search twice in the Media Gallery search field and using Firefox's back button, it will be be rendered inoperable until the user switches to another page and comes back; refreshing does not work.
Steps to reproduce:
1. Add the Media Gallery portlet
2. Click the Media Gallery portlet's Wrench icon > Configuration
3. Check Show Actions and Show Folder Menu > Save
4. Click Add Media > Basic Document
5. Select an image file (for example, jpg.jpg) > Publish
6. Navigate to the search field on the Media Gallery portlet
7. Type in the beginning of the image name (for example 'jpg' for the example jpg.jpg) > Search
8. Assert that the image is displayed in the Search results
9. Press Firefox's Back button
10. Search for 'jpg' again
The Search function is now unresponsive.
Issue Links
- is caused by
-
AUI-799
window does not fire event unload
-

This seems to be a problem specific to Firefox, as reported under the tickets:
https://bugzilla.mozilla.org/show_bug.cgi?id=439810
https://bugzilla.mozilla.org/show_bug.cgi?id=443289
A recommended solution can be found here:
http://duckranger.com/2012/01/double-submit-prevention-disabled-buttons-firefox-and-the-back-button/
which makes use of the page show event (https://developer.mozilla.org/en/Using_Firefox_1.5_caching#pageshow_event).