acq no-activate w/o copies experiment continued; real activation
authorBill Erickson <berick@esilibrary.com>
Tue, 10 Jul 2012 17:24:29 +0000 (13:24 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 10 Jul 2012 17:24:29 +0000 (13:24 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/ui/default/acq/po/view_po.js

index 4042d5a..626e5ce 100644 (file)
@@ -528,7 +528,12 @@ function activatePoStage2() {
     fieldmapper.standardRequest(
         ["open-ils.acq", "open-ils.acq.purchase_order.activate"], {
             "async": true,
-            "params": [openils.User.authtoken, PO.id()],
+            "params": [
+                openils.User.authtoken,
+                PO.id(),
+                null,  // vandelay options
+                {zero_copy_activate : dojo.byId('acq-po-activate-zero-copies').checked}
+            ],
             "onresponse": function(r) {
                 want_refresh = Boolean(openils.Util.readResponse(r));
             },