fix syntax error
authorGalen Charlton <gmc@esilibrary.com>
Fri, 5 Aug 2016 17:41:56 +0000 (13:41 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Nov 2017 20:04:21 +0000 (16:04 -0400)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

index d92ce56..51cff2d 100644 (file)
@@ -951,14 +951,14 @@ function($uibModal , $q , egCore , egAlertDialog , egConfirmDialog,  egAddCopyAl
                 if (egCore.evt.parse(resp)) {
                     console.error(egCore.evt.parse(resp));
                 } else {
-                   return egCore.net.request(
-                        'open-ils.circ',
-                        'open-ils.circ.copy_checkout_history.retrieve',
-                        egCore.auth.token(), resp.id(), 1
-                   ).then( function (circs) {
-                       evt.payload.old_circ = circs[0];
-                       return service.circ_exists_dialog_impl( evt, params, options );
-                    );
+                    return egCore.net.request(
+                         'open-ils.circ',
+                         'open-ils.circ.copy_checkout_history.retrieve',
+                         egCore.auth.token(), resp.id(), 1
+                    ).then( function (circs) {
+                        evt.payload.old_circ = circs[0];
+                        return service.circ_exists_dialog_impl( evt, params, options );
+                    });
                 }
             });
         } else {