From 2fda33289677d0343c5430d0eadcbbfb5651850f Mon Sep 17 00:00:00 2001 From: senator Date: Fri, 4 Mar 2011 11:05:03 -0500 Subject: [PATCH] Clearly I should have left the bits of jQuery in this file alone, since I introduced a syntax error so subtle that spidermonkey nor firebug could do anything but completely fail to execute even the first line of this file, without any clue as to the syntax error. --- Open-ILS/web/opac/skin/kcls/js/rdetail.js | 2 +- Open-ILS/web/opac/skin/kcls/xml/common/js_common_postbody.xml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Open-ILS/web/opac/skin/kcls/js/rdetail.js b/Open-ILS/web/opac/skin/kcls/js/rdetail.js index 3ccf037df0..9f11b7752e 100644 --- a/Open-ILS/web/opac/skin/kcls/js/rdetail.js +++ b/Open-ILS/web/opac/skin/kcls/js/rdetail.js @@ -902,7 +902,7 @@ function rdetailShowExtra(type, args) { var obj = dojo.query('[rel2='+type+']')[0]; var node = $(obj.getAttribute('rel')); var arrow = $(obj.getAttribute('rel')+"_arrow"); - if (dojo.style(node, "display") == "block")) { + if (dojo.style(node, "display") == "block") { hideMe(node); arrow.src="/opac/skin/kcls/graphics/rdetail_arrow.png"; } else { 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 6b430ecb7a..dc02c748e9 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 @@ -247,7 +247,6 @@ config.names.rdetail.cp_status = 'rdetail_status_cell'; attachEvt("common", "init", function() { - console.log("a 1"); var here = findOrgUnit(getLocation()); if (getDepth() > 0 || getDepth === 0 ) { while (getDepth() < findOrgDepth(here)) @@ -257,7 +256,6 @@ new openils.BibTemplate( { record : new CGI().param('r'), org_unit : here.shortname() } ).render(); - console.log("a 2"); }); /* if rdetail.xml */ -- 2.11.0