summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/testapi-ui/components
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2017-09-30 02:48:30 -0400
committergrakiss <grakiss.wanglei@huawei.com>2017-09-30 02:48:30 -0400
commit6cf69f7041d480baa215e0a5c2c8f42e3b777be5 (patch)
tree17e1c97de9645603d39d1d586c85deef51931621 /cvp/3rd_party/static/testapi-ui/components
parent6253966250881c8928db93ec19223b1f136c840a (diff)
[web-cvp]failed to expand test results
JIRA: DOVETAIL-517 When click on the "expand" button, nothing happens. Change-Id: Ibe1554baf047d56fa07e27e936c15b2664326382 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
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 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;
});
}