[open-ils-commits] r20321 - branches/rel_2_1/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:30 EDT 2011
Author: phasefx
Date: 2011-04-26 11:49:27 -0400 (Tue, 26 Apr 2011)
New Revision: 20321
Modified:
branches/rel_2_1/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_1/Open-ILS/web/opac/skin/default/js/myopac.js
===================================================================
--- branches/rel_2_1/Open-ILS/web/opac/skin/default/js/myopac.js 2011-04-26 15:49:11 UTC (rev 20320)
+++ branches/rel_2_1/Open-ILS/web/opac/skin/default/js/myopac.js 2011-04-26 15:49:27 UTC (rev 20321)
@@ -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