Commit 8f81c97a by Torkel Ödegaard

Merge pull request #3170 from utkarshcmu/opentsdb-ctrl

Fixed opentsdb queryctrl uncheck Rate UI bug
parents b5f35261 efc0b60d
...@@ -162,20 +162,20 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment