From 13de10fb7737a70e7a9fe1b81bd873b6e907712f Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 29 Oct 2014 17:07:23 -0400 Subject: [PATCH] kmain-74_self_checkout_menus_work Cross-port: e95b677 --- Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js b/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js index 38dc721519..e4c1b2196a 100644 --- a/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js +++ b/Open-ILS/web/js/ui/kcls/circ/selfcheck/selfcheck.js @@ -496,7 +496,7 @@ SelfCheckManager.prototype.updateFinesSummary = function() { // fines summary fieldmapper.standardRequest( ['open-ils.actor', 'open-ils.actor.user.fines.summary'], - { async : true, + { async : false, params : [this.authtoken, this.patron.id()], oncomplete : function(r) { var summary = openils.Util.readResponse(r); @@ -528,7 +528,7 @@ SelfCheckManager.prototype.drawItemsOutPage = function() { fieldmapper.standardRequest( ['open-ils.circ', 'open-ils.circ.actor.user.checked_out.atomic'], { - async : true, + async : false, params : [this.authtoken, this.patron.id()], oncomplete : function(r) { var resp = openils.Util.readResponse(r); @@ -689,7 +689,7 @@ SelfCheckManager.prototype.drawHoldsPage = function(bool) { fieldmapper.standardRequest( // fetch the hold IDs ['open-ils.circ', 'open-ils.circ.holds.id_list.retrieve'], - { async : true, + { async : false, params : [this.authtoken, this.patron.id()], oncomplete : function(r) { @@ -701,7 +701,7 @@ SelfCheckManager.prototype.drawHoldsPage = function(bool) { fieldmapper.standardRequest( // fetch the hold objects with fleshed details ['open-ils.circ', 'open-ils.circ.hold.details.batch.retrieve'], - { async : true, + { async : false, params : [self.authtoken, ids], onresponse : function(rr) { @@ -843,7 +843,7 @@ SelfCheckManager.prototype.drawFinesPage = function() { fieldmapper.standardRequest( ['open-ils.actor', 'open-ils.actor.user.transactions.have_balance.fleshed'], - { async : true, + { async : false, params : [this.authtoken, this.patron.id()], oncomplete : function(r) { progressDialog.hide(); @@ -1238,7 +1238,7 @@ SelfCheckManager.prototype.printSessionReceipt = function(callback) { fieldmapper.standardRequest( ['open-ils.circ', 'open-ils.circ.fire_circ_trigger_events'], { - async : true, + async : false, params : params, oncomplete : function(r) { var resp = openils.Util.readResponse(r); @@ -1304,7 +1304,7 @@ SelfCheckManager.prototype.printItemsOutReceipt = function(callback) { fieldmapper.standardRequest( ['open-ils.circ', 'open-ils.circ.fire_circ_trigger_events'], { - async : true, + async : false, params : params, oncomplete : function(r) { progressDialog.hide(); @@ -1364,7 +1364,7 @@ SelfCheckManager.prototype.printHoldsReceipt = function(callback) { fieldmapper.standardRequest( ['open-ils.circ', 'open-ils.circ.fire_hold_trigger_events'], { - async : true, + async : false, params : params, oncomplete : function(r) { progressDialog.hide(); @@ -1393,7 +1393,7 @@ SelfCheckManager.prototype.printPaymentReceipt = function(paymentIds, callback) fieldmapper.standardRequest( ['open-ils.circ', 'open-ils.circ.money.payment_receipt.print'], { - async : true, + async : false, params : [this.authtoken, paymentIds], oncomplete : function(r) { var resp = openils.Util.readResponse(r); @@ -1433,7 +1433,7 @@ SelfCheckManager.prototype.printFinesReceipt = function(callback) { fieldmapper.standardRequest( ['open-ils.circ', 'open-ils.circ.fire_user_trigger_events'], { - async : true, + async : false, params : params, oncomplete : function(r) { progressDialog.hide(); -- 2.11.0