summaryrefslogtreecommitdiffstats
path: root/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html
diff options
context:
space:
mode:
authorgrakiss <grakiss.wanglei@huawei.com>2017-12-13 01:15:39 +0000
committerLeo wang <grakiss.wanglei@huawei.com>2017-12-18 06:56:51 +0000
commitd47718c2c05bff8bfee5246a7946c361971164a0 (patch)
treea12784d28c488f0373342d72bcb7d42f09a90d27 /cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html
parentbae47b1bc7957216b82bc81a4c6dc48bec11a3b3 (diff)
Bugfix: pass/not pass filter not work in result-report page
The reason is there are some conflict with jquery.js and ng-model. So ng-model not work. Change-Id: I01ccd0e297d1a89aff8f78d7fb0a63a0e2114f63 Signed-off-by: grakiss <grakiss.wanglei@huawei.com> (cherry picked from commit c94df5dc491cff80bfa14cf1e66b62db48e05b01)
Diffstat (limited to 'cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html')
-rw-r--r--cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html b/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html
index 7dc43964..b552ea47 100644
--- a/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html
+++ b/cvp/3rd_party/static/testapi-ui/components/results-report/partials/reportDetails.html
@@ -6,15 +6,15 @@ report page.
Test Filters:<br />
<div class="btn-toolbar" role="toolbar">
<div class="btn-group button-margin" data-toggle="buttons">
- <label class="btn btn-default" ng-class="{'active': ctrl.testStatus === 'total'}">
+ <label class="btn btn-default" ng-click="ctrl.changeStatus('total')" ng-class="{'active': ctrl.testStatus === 'total'}">
<input type="radio" ng-model="ctrl.testStatus" value="total">
<span class="text-primary">All</span>
</label>
- <label class="btn btn-default" ng-class="{'active': ctrl.testStatus === 'passed'}">
+ <label class="btn btn-default" ng-click="ctrl.changeStatus('passed')" ng-class="{'active': ctrl.testStatus === 'passed'}">
<input type="radio" ng-model="ctrl.testStatus" value="passed">
<span class="text-success">Passed</span>
</label>
- <label class="btn btn-default" ng-class="{'active': ctrl.testStatus === 'not passed'}">
+ <label class="btn btn-default" ng-click="ctrl.changeStatus('not passed')" ng-class="{'active': ctrl.testStatus === 'not passed'}">
<input type="radio" ng-model="ctrl.testStatus" value="not passed">
<span class="text-danger">Not Passed</span>
</label>