[Time Conductor] Use ng-blur from template

This commit is contained in:
Victor Woeltjen
2015-11-27 14:35:51 -08:00
parent 677b0cffec
commit 3afcb52934

View File

@@ -25,8 +25,9 @@
<span class="l-time-range-inputs-elem ui-symbol type-icon">&#x43;</span> <span class="l-time-range-inputs-elem ui-symbol type-icon">&#x43;</span>
<span class="l-time-range-input"> <span class="l-time-range-input">
<mct-control key="'datetime-field'" <mct-control key="'datetime-field'"
structure="{ format: parameters.format, submit: updateBoundsFromForm }" structure="{ format: parameters.format }"
ng-model="formModel" ng-model="formModel"
ng-blur="updateBoundsFromForm()"
field="'start'" field="'start'"
class="time-range-start"> class="time-range-start">
</mct-control> </mct-control>
@@ -38,6 +39,7 @@
<mct-control key="'datetime-field'" <mct-control key="'datetime-field'"
structure="{ format: parameters.format, submit: updateBoundsFromForm }" structure="{ format: parameters.format, submit: updateBoundsFromForm }"
ng-model="formModel" ng-model="formModel"
ng-blur="updateBoundsFromForm()"
field="'end'" field="'end'"
class="time-range-end"> class="time-range-end">
</mct-control>&nbsp; </mct-control>&nbsp;