sunlightlabs / sunlight_health

Sunlight Health, a mobile health care app for iOS and Android.
GNU General Public License v3.0
4 stars 1 forks source link

Returning to the starting page causes events to break #5

Closed konklone closed 13 years ago

konklone commented 13 years ago

For example, on /facilities.html#facilities.html, there's an exception when changing the select dropdown. On /drugs.html#drugs.html, the AJAX call to fill the list never fires.

The pageshow callback can be observed firing twice in these scenarios. It's not immediately obvious whose fault this is.

konklone commented 13 years ago

This should be a non-issue in a Phonegap scenario. As long as the entry point is always index.html, and there's no opportunity to manually refresh a page, this should work okay.