summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/testapi-ui/components/results-report
diff options
context:
space:
mode:
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/components/results-report')
-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 5f8cac8e..8e63e651 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;
});
}