Reputation: 654
When using YUI calendar inside YUI dialog the js state is not cached in Firefox: pick a date, it gets populated into the field, navigate to another page and then click back, the form is reset. Do the same in IE and the selected date will be retained.
What is a workaround to this problem?
EDIT:
It appears that YAHOO.util.Event._simpleRemove(window, "unload", YAHOO.util.Event._unload);
per this YUI ticket, is the workaround.
Upvotes: 1
Views: 101
Reputation: 654
I'm actually going answer my own question, because it seems that YAHOO.util.Event._simpleRemove(window, "unload", YAHOO.util.Event._unload);
is in fact the answer for both broswers.
Upvotes: 1