From f34525ba7c629c3497217d1e59b7b4d7186a0f0b Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 19 Apr 2011 17:34:29 +0000 Subject: [PATCH] Only invoke BibTemplate if we have a reasonable number of copies In the move from 1.6 -> 2.0, I missed this important tweak to conditionally use BT on results page. Result was that slots were being rendered twice with disastrous results. Now the result is much happier. git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_2_0@1395 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- web/opac/skin/uwin/js/result_common.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/opac/skin/uwin/js/result_common.js b/web/opac/skin/uwin/js/result_common.js index e7df882ae1..78606fb393 100644 --- a/web/opac/skin/uwin/js/result_common.js +++ b/web/opac/skin/uwin/js/result_common.js @@ -1,4 +1,3 @@ -dojo.require('openils.BibTemplate'); dojo.requireLocalization("openils.opac", "opac"); var opac_strings = dojo.i18n.getLocalization("openils.opac", "opac"); @@ -754,8 +753,6 @@ function resultDisplayRecord(rec, pos, is_mr) { if (findOrgType(findOrgUnit(getLocation()).ou_type()).can_have_vols()) unHideMe($n(r,'local_callnumber_list')); - new openils.BibTemplate( bt_params ).render(); - unHideMe(r); runEvt("result", "recordDrawn", rec.doc_id(), title_link); -- 2.11.0