summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party
diff options
context:
space:
mode:
authorLeo wang <grakiss.wanglei@huawei.com>2017-10-09 02:10:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-09 02:10:02 +0000
commita3822f9da4742762cf3e8ed18e7d0e2296d95863 (patch)
treee54f1bf6ec18730f3242733c1f52c3db2d7c1c97 /cvp/3rd_party
parent494e5cd6de10007826e8dd882a296d6ae0aca752 (diff)
parent6cf69f7041d480baa215e0a5c2c8f42e3b777be5 (diff)
Merge "[web-cvp]failed to expand test results"
Diffstat (limited to 'cvp/3rd_party')
-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;
});
}