From 5dee865c246f3bcb3a2dec556218afab3698c653 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 14 Mar 2016 17:09:53 -0400 Subject: [PATCH] LP#1370694: clean up whitespace Signed-off-by: Galen Charlton --- .../web/js/ui/default/circ/selfcheck/selfcheck.js | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js b/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js index 184d0df3da..56f8bcd3ee 100644 --- a/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js +++ b/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js @@ -61,7 +61,7 @@ function SelfCheckManager() { this.checkouts = []; this.itemsOut = []; - this.holds = []; + this.holds = []; // During renewals, keep track of the ID of the previous circulation. // Previous circ is used for tracking failed renewals (for receipts). @@ -764,10 +764,10 @@ SelfCheckManager.prototype.drawHoldsPage = function() { } SelfCheckManager.prototype.insertHold = function(data) { - - // store hold data to pass along to receipt printing function - this.holds.push(data); - + + // store hold data to pass along to receipt printing function + this.holds.push(data); + var row = this.holdTemplate.cloneNode(true); if(data.mvr.isbn()) { @@ -1399,23 +1399,23 @@ SelfCheckManager.prototype.printHoldsReceipt = function(callback) { function(data) { holdIds.push(data.hold.id()); - //get pickup library info + //get pickup library info var pu = fieldmapper.standardRequest(['open-ils.actor','open-ils.actor.org_unit.retrieve'],[null,data.hold.pickup_lib()]); - + if(data.status == 4) { holdData.push({ - ready : true, + ready : true, item_title : data.mvr.title(), - item_author : data.mvr.author(), - pickup_lib : pu.name() - }); + item_author : data.mvr.author(), + pickup_lib : pu.name() + }); } else { holdData.push({ queue_position : data.queue_position, potential_copies : data.potential_copies, item_title : data.mvr.title(), - item_author : data.mvr.author(), - pickup_lib : pu.name() + item_author : data.mvr.author(), + pickup_lib : pu.name() }); } } -- 2.11.0