From: senator Date: Fri, 4 Mar 2011 16:05:03 +0000 (-0500) Subject: Clearly I should have left the bits of jQuery in this file alone, X-Git-Tag: kcls-grey-screen-prod1~36 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2fda33289677d0343c5430d0eadcbbfb5651850f;p=evergreen%2Fequinox.git 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. --- 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 */