LP#1370694: clean up whitespace
authorGalen Charlton <gmc@esilibrary.com>
Mon, 14 Mar 2016 21:09:53 +0000 (17:09 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Mar 2016 21:09:53 +0000 (17:09 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/ui/default/circ/selfcheck/selfcheck.js

index 9fbd548..03f9dfa 100644 (file)
@@ -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()
                 });
             }
         }