From 9c6bb08db48f6d4b7d13969ebfaa34c08309de81 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 --- .../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 9fbd548ed9..03f9dfa629 100644 --- a/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js +++ b/Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js @@ -100,7 +100,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). @@ -809,10 +809,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()) { @@ -1447,23 +1447,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.43.2