LP#1617556 - Remove openils_dojo.js references Somewhere along the way, openils_dojo.js was removed, but references remained. This removes them, hopefully helping to speed up page loads. Signed-off-by: Chris Sharp <csharp@georgialibraries.org> Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca> Signed-off-by: Jason Stephenson <jason@sigio.com>
Server-generated IDL JS The goal is to reduce use of pre-onload XHR, which is known to cause problems (dreaded white-screen-of-death) in firefox/xulrunner. Change allows opac, staff client, and embedded browser interfaces to load a pre-formatted JS object instead of IDL XML via XHR. In addition to dropping the XHR, clients no longer parse the XML, which should reduce page render time. Finally, in the staff interfaces, the full IDL is once again loaded, so there is no need to specifiy per-page classes. Per-page classes are still supported and used in the OPAC to reduce the up-front load time. Change requires an update to the Evergreen Apache config. See -r18700. Part of this change included condensing fieldmapper.hash and fielmapper.dojoData content into fieldmapper.Fieldmapper to avoid circular dependencies, which was causing problems with IE. Will eventually want to deprecate .hash and .dojoData, but for now they still function as before. git-svn-id: svn://svn.open-ils.org/ILS/trunk@18712 dcc99617-32d9-48b4-a31d-7c20da2025e4
replace Cookie.js/cookieManager with dojo.cookie. Some things to watch out for as we review this changeset: In Cookie.js, a -1 passed as the expires parameter indicated a session cookie. We could also specify such things as "+1y" or a specific date. With dojo.cookie, an expires value of -1 deletes a cookie. Not specifying an expires option will create a session cookie. We can enter a date or a number days from today. For the case in the code where we had "+1y", I supplied a value of 365. In the previous code, we used empty strings for a lot of cookie deletion. The canonical dojo example has us using null (with an expires of -1). There were also some cases where it seemed obvious that we were deleting cookies, but were at the same passing an actual value (see base.js). I changed these to nulls. In opac_utils.js, grabFleshedUser(), I fixed a dead code path where a cookie deletion attempt came after a return statement. I ran through the opac within and outside of the staff client, tried all of the acquisition UI's from the Acq menu, and most of the interfaces under Admin, and didn't find any auth cookie errors. git-svn-id: svn://svn.open-ils.org/ILS/trunk@18687 dcc99617-32d9-48b4-a31d-7c20da2025e4
type is a required attributed for script and style tags. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16637 dcc99617-32d9-48b4-a31d-7c20da2025e4
MORE: convert from permacrud to pcrud -- not as big as it looks -- and move some startup logic to the top (even though yslow will hate me) git-svn-id: svn://svn.open-ils.org/ILS/trunk@15702 dcc99617-32d9-48b4-a31d-7c20da2025e4
adding openils_dojo.js includes for our custom dojo build git-svn-id: svn://svn.open-ils.org/ILS/trunk@13325 dcc99617-32d9-48b4-a31d-7c20da2025e4
Make quotes in JavaScript inside attribute values work in XMLENT git-svn-id: svn://svn.open-ils.org/ILS/trunk@11098 dcc99617-32d9-48b4-a31d-7c20da2025e4
Add reporter Dojo resource file (reports.js.pot) Generate POT files without msgstr contents (annoys pot2po) Merge Conify Dojo resource files into a single Dojo resource file (conify.js.pot) git-svn-id: svn://svn.open-ils.org/ILS/trunk@11096 dcc99617-32d9-48b4-a31d-7c20da2025e4
Bring i18n to org unit administration interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@10832 dcc99617-32d9-48b4-a31d-7c20da2025e4
Complete i18n support for the aout admin interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@10829 dcc99617-32d9-48b4-a31d-7c20da2025e4
Start making it possible to localize Conify. Using a combination of mod_xmlent and dojo string substitution for the nonce. git-svn-id: svn://svn.open-ils.org/ILS/trunk@10827 dcc99617-32d9-48b4-a31d-7c20da2025e4
Fix some broken XHTML in org_unit_type.html (does that tag needs args? hmm) Don't strip comments as we're hiding our JavaScript inside comments... git-svn-id: svn://svn.open-ils.org/ILS/trunk@10789 dcc99617-32d9-48b4-a31d-7c20da2025e4
Prepare Conify for XMLENT git-svn-id: svn://svn.open-ils.org/ILS/trunk@10788 dcc99617-32d9-48b4-a31d-7c20da2025e4
move the translation widget out to openils.widget git-svn-id: svn://svn.open-ils.org/ILS/trunk@9431 dcc99617-32d9-48b4-a31d-7c20da2025e4
load fmall.js via dojo in fieldmapper.Fieldmapper git-svn-id: svn://svn.open-ils.org/ILS/trunk@9378 dcc99617-32d9-48b4-a31d-7c20da2025e4
move locale parsing out to a separate javascript file; translations of group names and descriptions git-svn-id: svn://svn.open-ils.org/ILS/trunk@9374 dcc99617-32d9-48b4-a31d-7c20da2025e4
locale parsing based on URL knowledge (because apache is not helping); aou.name translation support git-svn-id: svn://svn.open-ils.org/ILS/trunk@9373 dcc99617-32d9-48b4-a31d-7c20da2025e4
pull in my own requirements git-svn-id: svn://svn.open-ils.org/ILS/trunk@9371 dcc99617-32d9-48b4-a31d-7c20da2025e4
merging admin interface from the dojo-admin branch git-svn-id: svn://svn.open-ils.org/ILS/trunk@9309 dcc99617-32d9-48b4-a31d-7c20da2025e4