nrabinowitz / gapvis

A visual interface for reading ancient texts for the Google Ancient Places project
http://googleancientplaces.wordpress.com
Other
126 stars 27 forks source link

Better error handling for invalid books and places #20

Open nrabinowitz opened 12 years ago

nrabinowitz commented 12 years ago

Right now, the application just hangs if you try to go to an invalid book or place URL (e.g. http://gap.alexandriaarchive.org/gapvis/index.html#book/spam). In these cases, it would probably be best to redirect to the index (for invalid books) or the book summary (for invalid pages), unsetting the relevant state variable.