[open-ils-commits] r1395 - conifer/branches/rel_2_0/web/opac/skin/uwin/js (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 19 13:34:33 EDT 2011
Author: dbs
Date: 2011-04-19 13:34:29 -0400 (Tue, 19 Apr 2011)
New Revision: 1395
Modified:
conifer/branches/rel_2_0/web/opac/skin/uwin/js/result_common.js
Log:
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.
Modified: conifer/branches/rel_2_0/web/opac/skin/uwin/js/result_common.js
===================================================================
--- conifer/branches/rel_2_0/web/opac/skin/uwin/js/result_common.js 2011-04-19 17:23:23 UTC (rev 1394)
+++ conifer/branches/rel_2_0/web/opac/skin/uwin/js/result_common.js 2011-04-19 17:34:29 UTC (rev 1395)
@@ -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 @@
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);
More information about the open-ils-commits
mailing list