Commit 34141363 by Torkel Ödegaard

feat(panels): fixed panel time

parent 56c76f38
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
</li> </li>
<li> <li>
<input type="text" class="input-small tight-form-input last" placeholder="1h" <input type="text" class="input-small tight-form-input last" placeholder="1h"
empty-to-null ng-model="panel.timeFrom" valid-time-span empty-to-null ng-model="ctrl.panel.timeFrom" valid-time-span
ng-change="get_data()" ng-model-onblur> ng-change="ctrl.refresh()" ng-model-onblur>
</li> </li>
</ul> </ul>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
</li> </li>
<li> <li>
<input type="text" class="input-small tight-form-input last" placeholder="1h" <input type="text" class="input-small tight-form-input last" placeholder="1h"
empty-to-null ng-model="panel.timeShift" valid-time-span empty-to-null ng-model="ctrl.panel.timeShift" valid-time-span
ng-change="get_data()" ng-model-onblur> ng-change="ctrl.refresh()" ng-model-onblur>
</li> </li>
</ul> </ul>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -47,9 +47,9 @@ ...@@ -47,9 +47,9 @@
<strong>Hide time override info</strong> <strong>Hide time override info</strong>
</li> </li>
<li class="tight-form-item last"> <li class="tight-form-item last">
<input class="cr1" id="panel.hideTimeOverride" type="checkbox" <input class="cr1" id="ctrl.panel.hideTimeOverride" type="checkbox"
ng-model="panel.hideTimeOverride" ng-checked="panel.hideTimeOverride" ng-change="get_data()"> ng-model="ctrl.panel.hideTimeOverride" ng-checked="ctrl.panel.hideTimeOverride" ng-change="ctrl.refresh()">
<label for="panel.hideTimeOverride" class="cr1"></label> <label for="ctrl.panel.hideTimeOverride" class="cr1"></label>
</li> </li>
</ul> </ul>
<div class="clearfix"></div> <div class="clearfix"></div>
......
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