Forum: Ruby on Rails Firefox reloads select field from cache?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
PatRoy (Guest)
on 2007-08-02 07:48
(Received via mailing list)
Hi, I have a select field that has a "New Category" option in it. When
it's selected a prompt asks for a new category. It creates it, reloads
the select field with rjs and selects the added category. Everything
works fine so far. The problem is that when the user refreshes the
page (not control-F5 for a complete refresh) it reloads the select box
from the cached version? and selects the New Category option. Only
happens in FF. Can anyone think of why it's doing that?
Jeff E. (Guest)
on 2007-08-03 06:25
(Received via mailing list)
because that's just what firefox does ;-)  you could use some js after
the page loads to ensure the correct option is selected.
This topic is locked and can not be replied to.