From: phasefx Date: Tue, 26 Apr 2011 15:49:11 +0000 (+0000) Subject: set the cancel cause field when patrons cancel holds. There's a holdsCancel function... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9a2f1c9d469da617ad9b538e0affce91cc79ff58;p=contrib%2FConifer.git 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@20320 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/default/js/myopac.js b/Open-ILS/web/opac/skin/default/js/myopac.js index 8f136b1146..12fbaf1828 100644 --- a/Open-ILS/web/opac/skin/default/js/myopac.js +++ b/Open-ILS/web/opac/skin/default/js/myopac.js @@ -1633,7 +1633,7 @@ function myopacProcessHolds(action, thawDate) { 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':