From: dbs Date: Mon, 13 Apr 2009 01:56:11 +0000 (+0000) Subject: Complete the work on hiding/unhiding Place Hold link on detailed record display X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c0d96a3ea9d0582dd956cebf0b3571bbe9c25c8e;p=contrib%2FConifer.git Complete the work on hiding/unhiding Place Hold link on detailed record display git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@325 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- diff --git a/web/opac/skin/default/js/rdetail.js b/web/opac/skin/default/js/rdetail.js index bb7d691efe..b3776d5a35 100644 --- a/web/opac/skin/default/js/rdetail.js +++ b/web/opac/skin/default/js/rdetail.js @@ -300,6 +300,8 @@ function rdetailCheckAvailable() { function rdetailEnableHold(r) { var ccDepths = r.getResultObject(); if ((ccDepths[(ccDepths.length - 1)].available) > 0) { + hideMe($('rdetail_place_hold')); + } else { unHideMe($('rdetail_place_hold')); } }