From: Bill Erickson Date: Wed, 15 Dec 2010 17:25:41 +0000 (-0500) Subject: making results page happy in non-ff X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=632175739531b963a1c37198fccffe4dd94e2d7b;p=evergreen%2Fequinox.git making results page happy in non-ff --- diff --git a/Open-ILS/web/opac/skin/kcls/js/result_common.js b/Open-ILS/web/opac/skin/kcls/js/result_common.js index 413cac8b5a..47b9e9446c 100644 --- a/Open-ILS/web/opac/skin/kcls/js/result_common.js +++ b/Open-ILS/web/opac/skin/kcls/js/result_common.js @@ -4,7 +4,9 @@ var recordsCache = []; var lowHitCount = 4; var isbnList = ''; var googleBooksLink = true; -buildOrgSel($('holdsCacheSel'), globalOrgTree, 0); + +// TODO: test +dojo.addOnLoad(function(){ buildOrgSel($('holdsCacheSel'), globalOrgTree, 0);}); var resultFetchAllRecords = false; var resultCompiledSearch = null; @@ -34,8 +36,8 @@ config.names.result.item_author = "item_author"; config.names.result.counts_row = "counts_row"; config.names.result.count_cell = "copy_count_cell"; config.names.result.format_cell = 'result_table_format_cell'; -config.names.result.format_link = 'resource_link' -config.names.result.format_pic = 'format_pic' +config.names.result.format_link = 'resource_link'; +config.names.result.format_pic = 'format_pic'; /* set up the event handlers */ if( findCurrentPage() == MRESULT || findCurrentPage() == RRESULT ) { diff --git a/Open-ILS/web/opac/skin/kcls/xml/common/js_common.xml b/Open-ILS/web/opac/skin/kcls/xml/common/js_common.xml index d88358bb8e..e6e2886051 100644 --- a/Open-ILS/web/opac/skin/kcls/xml/common/js_common.xml +++ b/Open-ILS/web/opac/skin/kcls/xml/common/js_common.xml @@ -62,10 +62,6 @@ - - - - diff --git a/Open-ILS/web/opac/skin/kcls/xml/common/js_common_postbody.xml b/Open-ILS/web/opac/skin/kcls/xml/common/js_common_postbody.xml index 0cc7a6845a..8b2bb39662 100644 --- a/Open-ILS/web/opac/skin/kcls/xml/common/js_common_postbody.xml +++ b/Open-ILS/web/opac/skin/kcls/xml/common/js_common_postbody.xml @@ -159,10 +159,6 @@ config.css.myopac = {}; config.names.myopac = {}; - - openils.Util.requireLegacy('/skin/kcls/js/password_reset.js'); - - openils.Util.requireLegacy('/skin/kcls/js/sidebar_extras.js'); openils.Util.requireLegacy('/skin/kcls/js/rresult.js'); diff --git a/Open-ILS/web/opac/skin/kcls/xml/common/sidebar.xml b/Open-ILS/web/opac/skin/kcls/xml/common/sidebar.xml index f54fea1441..b761a1e17d 100644 --- a/Open-ILS/web/opac/skin/kcls/xml/common/sidebar.xml +++ b/Open-ILS/web/opac/skin/kcls/xml/common/sidebar.xml @@ -67,17 +67,17 @@ var fblob = this; setTimeout( function() { - attachEvt("result", "allRecordsReceived", function () { - if(!resultFacetKey) return; - if (fblob.facetCacheKey) return; // already rendered it + attachEvt("result", "allRecordsReceived", + function () { + if(!resultFacetKey) return; + if (fblob.facetCacheKey) return; // already rendered it - dojo.removeClass('facetSidebarContainer','hide_me'); - - fblob.facetCacheKey = resultFacetKey; - fblob.render(); - } - } - ); + dojo.removeClass('facetSidebarContainer','hide_me'); + + fblob.facetCacheKey = resultFacetKey; + fblob.render(); + } + )}, 0); ]]> diff --git a/Open-ILS/web/opac/skin/kcls/xml/result/result_table.xml b/Open-ILS/web/opac/skin/kcls/xml/result/result_table.xml index 3c26d367b1..b9decaa6e8 100644 --- a/Open-ILS/web/opac/skin/kcls/xml/result/result_table.xml +++ b/Open-ILS/web/opac/skin/kcls/xml/result/result_table.xml @@ -169,14 +169,14 @@ - + - + ]]>