Fixed opentsdb queryctrl uncheck Rate UI bug

This commit is contained in:
utkarshcmu 2015-11-08 21:44:58 -08:00
parent 56e2082205
commit efc0b60d41

View File

@ -162,20 +162,20 @@
<editor-checkbox text="Counter" model="target.isCounter" change="targetBlur()"></editor-checkbox> <editor-checkbox text="Counter" model="target.isCounter" change="targetBlur()"></editor-checkbox>
</li> </li>
<li class="tight-form-item" ng-hide="!target.isCounter"> <li class="tight-form-item" ng-hide="!target.isCounter || !target.shouldComputeRate">
Counter Max: Counter Max:
</li> </li>
<li ng-hide="!target.isCounter"> <li ng-hide="!target.isCounter || !target.shouldComputeRate">
<input type="text" class="tight-form-input input-small" ng-disabled="!target.shouldComputeRate" <input type="text" class="tight-form-input input-small" ng-disabled="!target.shouldComputeRate"
ng-model="target.counterMax" spellcheck='false' ng-model="target.counterMax" spellcheck='false'
placeholder="max value" ng-model-onblur placeholder="max value" ng-model-onblur
ng-blur="targetBlur()"></input> ng-blur="targetBlur()"></input>
</li> </li>
<li class="tight-form-item" ng-hide="!target.isCounter"> <li class="tight-form-item" ng-hide="!target.isCounter || !target.shouldComputeRate">
Reset Value: Reset Value:
</li> </li>
<li ng-hide="!target.isCounter"> <li ng-hide="!target.isCounter || !target.shouldComputeRate">
<input type="text" class="tight-form-input input-small" ng-disabled="!target.shouldComputeRate" <input type="text" class="tight-form-input input-small" ng-disabled="!target.shouldComputeRate"
ng-model="target.counterResetValue" spellcheck='false' ng-model="target.counterResetValue" spellcheck='false'
placeholder="reset value" ng-model-onblur placeholder="reset value" ng-model-onblur