[open-ils-commits] r325 - conifer/trunk/web/opac/skin/default/js (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Apr 12 21:56:12 EDT 2009
Author: dbs
Date: 2009-04-12 21:56:11 -0400 (Sun, 12 Apr 2009)
New Revision: 325
Modified:
conifer/trunk/web/opac/skin/default/js/rdetail.js
Log:
Complete the work on hiding/unhiding Place Hold link on detailed record display
Modified: conifer/trunk/web/opac/skin/default/js/rdetail.js
===================================================================
--- conifer/trunk/web/opac/skin/default/js/rdetail.js 2009-04-13 01:47:34 UTC (rev 324)
+++ conifer/trunk/web/opac/skin/default/js/rdetail.js 2009-04-13 01:56:11 UTC (rev 325)
@@ -300,6 +300,8 @@
function rdetailEnableHold(r) {
var ccDepths = r.getResultObject();
if ((ccDepths[(ccDepths.length - 1)].available) > 0) {
+ hideMe($('rdetail_place_hold'));
+ } else {
unHideMe($('rdetail_place_hold'));
}
}
More information about the open-ils-commits
mailing list