summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/testapi-ui/components
diff options
context:
space:
mode:
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/components')
-rw-r--r--cvp/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js b/cvp/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
index 2b7383b5..1d37c583 100644
--- a/cvp/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
+++ b/cvp/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
@@ -165,13 +165,13 @@
}
function openAll(){
- angular.forEach(ctrl.cases, function(id, ele){
+ angular.forEach(ctrl.cases, function(ele, id){
ele.folder = false;
});
}
function folderAll(){
- angular.forEach(ctrl.cases, function(id, ele){
+ angular.forEach(ctrl.cases, function(ele, id){
ele.folder = true;
});
}