Help get this topic noticed by sharing it on Twitter, Facebook, or email.

in Firefox, popup crossriderMain() only called once

I've been working with popups for several days now, and this morning observing some new behavior, only in Firefox.

The popup's "crossriderMain()" function is only being called when I first bring up the popup. On subsequent times bringing up the popup, all the HTML shown is the same as the first time, and no javascript is being called (e.g. crossriderMain is not called again).

This is different from behavior I was seeing over the last few days, and is also contrary to this paragraph in the docs:


Code run in this scope is loaded and run afresh every time the popup is opened. Hence, each time the popup code is run, all variables, listeners, etc are not available from the previous run. If you need to retain information between popup runs, save them to the local database using appAPI.db.


Again, this is only on Firefox. Did something change here recently? I depend upon crossriderMain to initialize the content of the popup based upon some current values in the DB.
3 people have
this problem
+1
Reply