From: dbs Date: Mon, 13 Apr 2009 01:47:34 +0000 (+0000) Subject: And invert the results to get it right :) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=87413dd6f94e19ea483baa06ba2a67151101273c;p=contrib%2FConifer.git And invert the results to get it right :) git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@324 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/web/opac/skin/default/js/result_common.js b/web/opac/skin/default/js/result_common.js index 6a346ed4b5..2dfd352dfa 100644 --- a/web/opac/skin/default/js/result_common.js +++ b/web/opac/skin/default/js/result_common.js @@ -507,7 +507,6 @@ function resultDisplayRecord(rec, pos, is_mr) { if (holdsOnAvailable) { unHideMe($n(r,'place_hold_span')); - } else { } $n(r,'place_hold_link').setAttribute( @@ -743,9 +742,9 @@ function resultDisplayCopyCounts(rec, pagePosition, copy_counts) { 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'); } }