sirikata/berkelium — pull request #8 by Matt1360 (2012-01-23 17:41:33+00:00)
Title: Applied a patch from the mailing list, somewhat fixing a race condition.

Hey guys,

This was posted on the mailing list quite a while ago, and I had run into a similar problem where the page was not having javascript executed on load. The workaround of ignoring an alert() was not working for me either, I had to click a button that executed a javascript function, which would throw an error - However, clicking it a second time would always work.

This patch has eliminated that, although I read something about it may not be 100%, it's definitely a better start from where I was prior to this. I hope this helps others as well.