[open-ils-commits] r20320 - trunk/Open-ILS/web/opac/skin/default/js (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Apr 26 11:49:13 EDT 2011


Author: phasefx
Date: 2011-04-26 11:49:11 -0400 (Tue, 26 Apr 2011)
New Revision: 20320

Modified:
   trunk/Open-ILS/web/opac/skin/default/js/myopac.js
Log:
set the cancel cause field when patrons cancel holds.  There's a holdsCancel function that also does this, but it never gets called by anything


Modified: trunk/Open-ILS/web/opac/skin/default/js/myopac.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/myopac.js	2011-04-26 14:44:11 UTC (rev 20319)
+++ trunk/Open-ILS/web/opac/skin/default/js/myopac.js	2011-04-26 15:49:11 UTC (rev 20320)
@@ -1633,7 +1633,7 @@
         switch(action) { 
 
             case 'cancel':
-                req = new Request(CANCEL_HOLD, G.user.session, hold.id());
+	            req = new Request(CANCEL_HOLD, G.user.session, hold.id(), /* Patron via OPAC */ 6);
                 break;
     
             case 'thaw':



More information about the open-ils-commits mailing list