summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
diff options
context:
space:
mode:
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js')
-rw-r--r--cvp/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js5
1 files changed, 5 insertions, 0 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 0260938a..b0061f61 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
@@ -47,6 +47,7 @@
ctrl.openAll = openAll;
ctrl.folderAll = folderAll;
ctrl.gotoResultLog = gotoResultLog;
+ ctrl.changeStatus = changeStatus;
/** The testID extracted from the URL route. */
ctrl.testId = $stateParams.testID;
@@ -58,6 +59,10 @@
$scope.load_finish = false;
+ function changeStatus(value){
+ ctrl.testStatus = value;
+ }
+
function extend(case_list) {
angular.forEach(case_list, function(ele){
ctrl.case_list.push(ele);