google-code-export / sandy-disaster-recovery

Automatically exported from code.google.com/p/sandy-disaster-recovery
2 stars 2 forks source link

in main.js, site_ajax_handler is called one time too many #192

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In line 500 of main.js, change sites.length > 0, to sites.length < 100.

Right now, if there are 833 sites to be placed on the map, the code calls for 
sites in batches of 100, and keeps calling until 0 are returned.

This calls site_ajax_handler one too many times. The last call should be when 
there are less than 100 sites in the return, as specified above.

(I know this is an easy implement, I'll likely get it tomorrow, but I wanted to 
make sure we have a complete list of issues, so I don't have notes everywhere).

Original issue reported on code.google.com by andy.n.g...@gmail.com on 23 Feb 2013 at 7:48

GoogleCodeExporter commented 9 years ago

Original comment by andy.n.g...@gmail.com on 23 Feb 2013 at 7:48

GoogleCodeExporter commented 9 years ago
Implemented. Version 90 on sandy-helping-hands

Original comment by andy.n.g...@gmail.com on 23 Feb 2013 at 8:42

GoogleCodeExporter commented 9 years ago
I assume this was implemented. I have no easy way to test.  If it's done and 
working, mark it "Fixed."

Original comment by v...@aarontitus.net on 25 Feb 2013 at 2:23

GoogleCodeExporter commented 9 years ago
It's implemented. I just added it up as a note to self when I was working on 
finding bugs.

Original comment by andy.n.g...@gmail.com on 25 Feb 2013 at 2:24