[open-ils-commits] r20322 - branches/rel_2_0/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:41 EDT 2011


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

Modified:
   branches/rel_2_0/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: branches/rel_2_0/Open-ILS/web/opac/skin/default/js/myopac.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/opac/skin/default/js/myopac.js	2011-04-26 15:49:27 UTC (rev 20321)
+++ branches/rel_2_0/Open-ILS/web/opac/skin/default/js/myopac.js	2011-04-26 15:49:38 UTC (rev 20322)
@@ -1628,7 +1628,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