passing the opac_renewal flag on renewals
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Dec 2006 18:34:28 +0000 (18:34 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 8 Dec 2006 18:34:28 +0000 (18:34 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6668 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/myopac.js

index a8e6a90..05ac65d 100644 (file)
@@ -232,7 +232,7 @@ function myOPACRenewCirc(circid) {
        if(!confirm($('myopac_renew_confirm').innerHTML)) return;
 
        var req = new Request(RENEW_CIRC, G.user.session, 
-               { patron : G.user.id(), copyid : circ.target_copy() } );
+               { patron : G.user.id(), copyid : circ.target_copy(), opac_renewal : 1 } );
        req.request.alertEvent = false;
        req.send(true);
        var res = req.result();