LP#1796903: (follow-up) disabled the calendar button when the text input is disabled
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / t_datetime.tt2
index dbeb719..9d83d30 100644 (file)
@@ -18,7 +18,7 @@
         close-text="{{closeText}}"/>
       <span class="input-group-btn">
         <button type="button" class="btn btn-default"
-          ng-click="datePickerIsOpen=!datePickerIsOpen"
+          ng-click="datePickerIsOpen=!datePickerIsOpen" ng-disabled="ngDisabled"
           aria-label="Select a date" aria-pressed="{{datePickerIsOpen || false}}">
           <span class="glyphicon glyphicon-calendar" title="Select a date"></span>
         </button>