Fix for PhantomJS failing npm test in Installation Step 4.2 - Changed let to var user/cburton/PhantomJS_Variable_Error_Fix user/cburton/working_branch
authorChris Burton <cburton@nflibrary.ca>
Wed, 11 Sep 2019 20:32:39 +0000 (16:32 -0400)
committerChris Burton <cburton@nflibrary.ca>
Wed, 11 Sep 2019 20:32:39 +0000 (16:32 -0400)
Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js

index cdaaaa1..e1e63d1 100644 (file)
@@ -699,7 +699,7 @@ function($scope,  $q , $routeParams,  bucketSvc,  egCore,  $window,
 
                 $scope.edit_lead_inplace = function() {
                     $scope.editing_inplace = true;
-                    let lead = { orig_marc_xml : $scope.lead.marc_xml };
+                    var lead = { orig_marc_xml : $scope.lead.marc_xml };
                     $scope.lead = lead;
                 }
                 $scope.edit_lead = function() {