Adjust to the change from r to circ introduced in changeset 14370 rel_1_6_0@752
authordbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 11 Jan 2010 21:00:12 +0000 (21:00 +0000)
committerdbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 11 Jan 2010 21:00:12 +0000 (21:00 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/trunk@752 6d9bc8c9-1ec2-4278-b937-99fde70a366f

web/opac/skin/default/js/myopac.js

index 1c9df25..a1a580d 100644 (file)
@@ -247,7 +247,7 @@ function myOPACDrawCheckedItem(circ, tbody) {
        circsCache.push(circ);
 
    // Disable renewals if no renewals left or item already overdue
-   if( circ.renewal_remaining() < 1 || r.od ) {
+   if( circ.renewal_remaining() < 1 || circ._od ) {
       $n(row, 'selectme').disabled = true;
       if(!__can_renew_one)
          $('mo_renew_button').disabled = true;