prevent repeat renderings of opac sidebar (relevant subjects, authors, etc.) in Firef...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Oct 2010 17:16:59 +0000 (17:16 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Oct 2010 17:16:59 +0000 (17:16 +0000)
commit4ce21f0c9016e38161688a2f9a79035537f0fe08
tree5e92941c0e5f786d5da8d886cd6a37088812565f
parent4ac15b3e6418a5806292e0085220a313a5481835
prevent repeat renderings of opac sidebar (relevant subjects, authors, etc.) in Firefox.  What's happening is that the rresultHandleMods is not firing immediately with each record retrieve, and so we get a flurry at the end where resultPageIsDone() returns true for all of them, triggering the allRecordsReceived event more than once.  So now at the end of the first allRecordsReceived event chain, we set a global variable, and have these render functions check to see if it has been set.

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18155 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/web/opac/skin/default/js/result_common.js
Open-ILS/web/opac/skin/default/js/sidebar_extras.js