aodn/aodn-portal — pull request #237 by danfruehauf (2013-06-25 01:36:32+00:00)
Title: fixed #213

processDates function took too long to process as it might have had close to 20,000 items sometimes.

The solution was to run this function in an async closure in a chunked way, letting the browser take control every 1024 items (can be easily changed). The result is slightly slower processing time, but also getting rid of the annoying popup saying a js script took too long to run