Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2016-12-21 13:35:02 -0500
committerAngel Avila2017-02-17 15:11:40 -0500
commit3996f19ae29e479e1dc7fe7ccfbf0b30fc98b58f (patch)
treeaf7a892ee3d5322fcb16750bab67e5a6233f8437
parentfd23531612db02a56c42ab3298eb2d718bda5f5e (diff)
downloadorg.eclipse.osee-3996f19ae29e479e1dc7fe7ccfbf0b30fc98b58f.tar.gz
org.eclipse.osee-3996f19ae29e479e1dc7fe7ccfbf0b30fc98b58f.tar.xz
org.eclipse.osee-3996f19ae29e479e1dc7fe7ccfbf0b30fc98b58f.zip
bug: Fix script issue on Merge Annotations
-rw-r--r--plugins/org.eclipse.osee.disposition.rest/web/legacy/js/adminController.js6
-rw-r--r--plugins/org.eclipse.osee.web.ui/src/dispo/js/adminController.js6
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest/web/legacy/js/adminController.js b/plugins/org.eclipse.osee.disposition.rest/web/legacy/js/adminController.js
index 3c89034aa1..3280e4dc27 100644
--- a/plugins/org.eclipse.osee.disposition.rest/web/legacy/js/adminController.js
+++ b/plugins/org.eclipse.osee.disposition.rest/web/legacy/js/adminController.js
@@ -428,9 +428,9 @@
var CopySetModalCtrl = function($scope, $modalInstance, programs, currentlySelectedProgram, sets, showLoadingModal) {
- $scope.setsLocal = angular.copy(sets);
- $scope.programsLocal = angular.copy(programs);
- $scope.setsLocalSource = angular.copy(sets);
+ $scope.setsLocal = sets.slice();
+ $scope.programsLocal = programs.slice();
+ $scope.setsLocalSource = sets.slice();
$scope.sourceProgram = currentlySelectedProgram;
$scope.updateProgramLocal = function() {
diff --git a/plugins/org.eclipse.osee.web.ui/src/dispo/js/adminController.js b/plugins/org.eclipse.osee.web.ui/src/dispo/js/adminController.js
index 7e4840070e..8b73424029 100644
--- a/plugins/org.eclipse.osee.web.ui/src/dispo/js/adminController.js
+++ b/plugins/org.eclipse.osee.web.ui/src/dispo/js/adminController.js
@@ -433,9 +433,9 @@
var CopySetModalCtrl = function($scope, $modalInstance, programs, currentlySelectedProgram, sets, showLoadingModal) {
- $scope.setsLocal = angular.copy(sets);
- $scope.programsLocal = angular.copy(programs);
- $scope.setsLocalSource = angular.copy(sets);
+ $scope.setsLocal = sets.slice();
+ $scope.programsLocal = programs.slice();
+ $scope.setsLocalSource = sets.slice();
$scope.sourceProgram = currentlySelectedProgram;
$scope.updateProgramLocal = function() {

Back to the top