[open-ils-commits] r324 - conifer/trunk/web/opac/skin/default/js (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Apr 12 21:47:35 EDT 2009
Author: dbs
Date: 2009-04-12 21:47:34 -0400 (Sun, 12 Apr 2009)
New Revision: 324
Modified:
conifer/trunk/web/opac/skin/default/js/result_common.js
Log:
And invert the results to get it right :)
Modified: conifer/trunk/web/opac/skin/default/js/result_common.js
===================================================================
--- conifer/trunk/web/opac/skin/default/js/result_common.js 2009-04-13 01:36:12 UTC (rev 323)
+++ conifer/trunk/web/opac/skin/default/js/result_common.js 2009-04-13 01:47:34 UTC (rev 324)
@@ -507,7 +507,6 @@
if (holdsOnAvailable) {
unHideMe($n(r,'place_hold_span'));
- } else {
}
$n(r,'place_hold_link').setAttribute(
@@ -743,9 +742,9 @@
if (!holdsOnAvailable && (i == (copy_counts.length - 1))) {
var resultTBody = findParentByNodeName(cell, 'TBODY');
if (cts.available > 0) {
- dojo.query('[name="place_hold_span"]', resultTBody).removeClass('hide_me');
- } else {
dojo.query('[name="place_hold_span"]', resultTBody).addClass('hide_me');
+ } else {
+ dojo.query('[name="place_hold_span"]', resultTBody).removeClass('hide_me');
}
}
More information about the open-ils-commits
mailing list