using browser detection in js_common (via ssi), have FF/Xulrunner load the postbody...
authorBill Erickson <erickson@esilibrary.com>
Tue, 14 Dec 2010 20:30:29 +0000 (15:30 -0500)
committerBill Erickson <erickson@esilibrary.com>
Tue, 14 Dec 2010 20:30:29 +0000 (15:30 -0500)
commit13ecde7a49312ed11e6315ce54821ed6db342813
treeb7984af3640a2a6d1fa1bdc6b015767b31d56159
parent40aab2585c31d6604728ccd85671d32da494bdbc
using browser detection in js_common (via ssi), have  FF/Xulrunner load the postbody JS loader and all other browsers load the regular js_common content, w/ some slight changes to keep inline JS out of the picture.  This is all because IE treats JS loaded vis legacyRequire as running in the non-global scope, which pretty much breaks all the code loaded in this fashion
Open-ILS/web/opac/skin/default/js/advanced.js
Open-ILS/web/opac/skin/default/js/holds.js
Open-ILS/web/opac/skin/default/js/myopac.js
Open-ILS/web/opac/skin/default/js/rdetail.js
Open-ILS/web/opac/skin/default/js/result_common.js
Open-ILS/web/opac/skin/default/xml/body.xml
Open-ILS/web/opac/skin/default/xml/common/js_common.xml
Open-ILS/web/opac/skin/default/xml/common/js_common_postbody.xml
Open-ILS/web/opac/skin/default/xml/home/index_body.xml