LP#1554714 eg-date-input relays ng-blur
authorBill Erickson <berickxx@gmail.com>
Wed, 16 Mar 2016 22:09:51 +0000 (18:09 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 22 Apr 2016 13:53:00 +0000 (09:53 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/staff/share/t_datetime.tt2
Open-ILS/web/js/ui/default/staff/services/ui.js

index 3f2bd01..0e837f1 100644 (file)
@@ -9,6 +9,7 @@
         is-open="datePickerIsOpen"
         ng-model="ngModel"
         ng-change="ngChange"
+        ng-blur="ngBlur"
         ng-disabled="ngDisabled"
         ng-required="ngRequired"
         close-text="{{closeText}}"/>
@@ -22,7 +23,7 @@
   </div>
   <!-- Time Picker
       let time picker break to a new line since it does not
-       not line up horizontally very well with the date picker -->
+      not line up horizontally very well with the date picker -->
   <div>
     <span>
       <uib-timepicker
@@ -30,6 +31,7 @@
         ng-model="ngModel"
         ng-disabled="ngDisabled"
         ng-required="ngRequired"
+        ng-blur="ngBlur"
         ng-change="ngChange">
       </uib-timepicker>
     </span>
index b774050..4600b4f 100644 (file)
@@ -466,6 +466,7 @@ function($window , egStrings) {
                 closeText : '@',
                 ngModel : '=',
                 ngChange : '=',
+                ngBlur : '=',
                 ngDisabled : '=',
                 ngRequired : '=',
                 hideDatePicker : '='