LP#1724885: (follow-up) fix whitespace
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 8 Nov 2017 16:09:21 +0000 (11:09 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 8 Nov 2017 16:09:21 +0000 (11:09 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/cat/z3950/app.js

index 9ba6927..911e4f6 100644 (file)
@@ -239,18 +239,18 @@ function($scope , $q , $location , $timeout , $window,  egCore , egGridDataProvi
                        egAlertDialog.open(egCore.strings.TCN_EXISTS_ERR);
                      }
                 } else {
-                egConfirmDialog.open(
-                    egCore.strings.IMPORTED_RECORD_FROM_Z3950,
-                    egCore.strings.IMPORTED_RECORD_FROM_Z3950_AS_ID,
-                    { id : result.id() },
-                    egCore.strings.GO_TO_RECORD,
-                    egCore.strings.GO_BACK
-                ).result.then(function() {
-                    // NOTE: $location.path('/cat/catalog/record/' + result.id()) did not work
-                    // for some reason
-                    $window.location.href = egCore.env.basePath + 'cat/catalog/record/' + result.id();
-                });
-              }   
+                    egConfirmDialog.open(
+                        egCore.strings.IMPORTED_RECORD_FROM_Z3950,
+                        egCore.strings.IMPORTED_RECORD_FROM_Z3950_AS_ID,
+                        { id : result.id() },
+                        egCore.strings.GO_TO_RECORD,
+                        egCore.strings.GO_BACK
+                    ).result.then(function() {
+                        // NOTE: $location.path('/cat/catalog/record/' + result.id()) did not work
+                        // for some reason
+                        $window.location.href = egCore.env.basePath + 'cat/catalog/record/' + result.id();
+                    });
+                }
             }
         );