From 343fe14825c71389feac35803f841bd0d5593c16 Mon Sep 17 00:00:00 2001 From: Chris Burton Date: Wed, 11 Sep 2019 16:32:39 -0400 Subject: [PATCH] Fix for PhantomJS failing npm test in Installation Step 4.2 - Changed let to var --- Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js b/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js index cdaaaa147b..e1e63d17f1 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/bucket/record/app.js @@ -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() { -- 2.11.0