prevent repeat renderings of opac sidebar (relevant subjects, authors, etc.) in Firef...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Oct 2010 17:31:45 +0000 (17:31 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Oct 2010 17:31:45 +0000 (17:31 +0000)
commit3bd6fec39dc0461da1c8bbde8b74b02f275e9840
tree8f390cdee55e572df041ff1e313fc8ecc5e7dcc3
parent6b38831dfab29d8bed4aaf82d4cb302ea1ac3e51
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_0@18156 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