handle COPY_CIRC_NOT_ALLOWED, which happens if the copy's circulate attribute is...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 24 Jun 2006 03:47:01 +0000 (03:47 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 24 Jun 2006 03:47:01 +0000 (03:47 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4773 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/checkout.js

index 3342de8..fe1fc98 100644 (file)
@@ -326,6 +326,7 @@ circ.checkout.prototype = {
                                        'title' : 'Override Checkout Failure?',
                                        'overridable_events' : [ 
                                                7002 /* PATRON_EXCEEDS_CHECKOUT_COUNT */,
+                                               7003 /* COPY_CIRC_NOT_ALLOWED */,
                                                7004 /* COPY_NOT_AVAILABLE */, 
                                                7006 /* COPY_IS_REFERENCE */, 
                                                7010 /* COPY_ALERT_MESSAGE */,
@@ -408,6 +409,9 @@ circ.checkout.prototype = {
                                                case 7002 /* PATRON_EXCEEDS_CHECKOUT_COUNT */ :
                                                        found_handled = true;
                                                break;
+                                               case 7003 /* COPY_CIRC_NOT_ALLOWED */ :
+                                                       found_handled = true;
+                                               break;
                                                case 7004 /* COPY_NOT_AVAILABLE */ :
                                                        msg += test_permit[i].desc + '\n' + 'Copy status = ' + obj.data.hash.ccs[ test_permit[i].payload ].name() + '\n';
                                                        found_handled = true;