whitespace only: replace tab characters with eight spaces.
authora. bellenir <ab@grpl.org>
Wed, 27 Jun 2018 18:44:57 +0000 (14:44 -0400)
committera. bellenir <ab@grpl.org>
Wed, 27 Jun 2018 18:44:57 +0000 (14:44 -0400)
Signed-off-by: a. bellenir <ab@grpl.org>
Open-ILS/web/js/ui/default/staff/circ/services/item.js

index b1285af..f66590d 100644 (file)
@@ -701,28 +701,28 @@ function(egCore , egCirc , $uibModal , $q , $timeout , $window , egConfirmDialog
     service.spawnHoldingsEdit = function (items,hide_vols,hide_copies){
         var item_ids = [];
         angular.forEach(items, function(i){
-           item_ids.push(i.id);
+            item_ids.push(i.id);
         });
-       
-       egCore.net.request(
-           'open-ils.actor',
-           'open-ils.actor.anon_cache.set_value',
-           null,
-           'edit-these-copies',
-           {
-               record_id: 0,  // disables record summary
-               copies: item_ids,
-               raw: {},
-               hide_vols : hide_vols,
-               hide_copies : hide_copies
+
+        egCore.net.request(
+            'open-ils.actor',
+            'open-ils.actor.anon_cache.set_value',
+            null,
+            'edit-these-copies',
+            {
+                record_id: 0,  // disables record summary
+                copies: item_ids,
+                raw: {},
+                hide_vols : hide_vols,
+                hide_copies : hide_copies
             }).then(function(key) {
-               if (key) {
-                   var url = egCore.env.basePath + 'cat/volcopy/' + key;
-                   $timeout(function() { $window.open(url, '_blank') });
-               } else {
-                   alert('Could not create anonymous cache key!');
-               }
-           });
+                if (key) {
+                    var url = egCore.env.basePath + 'cat/volcopy/' + key;
+                    $timeout(function() { $window.open(url, '_blank') });
+                } else {
+                    alert('Could not create anonymous cache key!');
+                }
+            });
     }
 
     service.replaceBarcodes = function(items) {