]> git.evergreen-ils.org Git - Evergreen.git/commit
prevent repeat renderings of opac sidebar (relevant subjects, authors, etc.) in Firef...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Oct 2010 17:32:09 +0000 (17:32 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Oct 2010 17:32:09 +0000 (17:32 +0000)
commit9e6842e22dd3d7a2818a2af740fb2eee0337a528
treeb4f7e6281886869bfcd5424027dc9c524f763d16
parent90227bc570f5d7b46169bdd3bccc960e69895e49
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_1@18157 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