Skip to content

Commit

Permalink
bug fixes #178, #179, #180
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshwarpatlolla committed Apr 2, 2016
1 parent 0c2ed10 commit 1b82e6c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/ionic-datepicker.bundle.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/ionic-datepicker-modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ <h1 class="title">{{selctedDateEpoch | date : mainObj.dateFormat}}</h1>
<ion-footer-bar class="footer">
<div class="row padding_zero">
<button class="button button-clear button-block button_set" ng-if="!mainObj.closeOnSelect"
ng-click="setIonicDatePickerDate()">Set
ng-click="setIonicDatePickerDate()">{{mainObj.setLabel}}
</button>
<button class="button button-clear button-block button_today" ng-if="mainObj.showTodayButton"
ng-click="setIonicDatePickerTodayDate()">Today
ng-click="setIonicDatePickerTodayDate()">{{mainObj.todayLabel}}
</button>
<button class="button button-clear button-block button_close"
ng-click="closeIonicDatePickerModal()">Close
ng-click="closeIonicDatePickerModal()">{{mainObj.closeLabel}}
</button>
</div>
</ion-footer-bar>
Expand Down
2 changes: 1 addition & 1 deletion src/ionic-datepicker.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ angular.module('ionic-datepicker', [
'ionic',
'ionic-datepicker.service',
'ionic-datepicker.provider',
'ionic-datepicker.templates'
// 'ionic-datepicker.templates'
]);
1 change: 1 addition & 0 deletions src/ionic-datepicker.provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ angular.module('ionic-datepicker.provider', [])
if (!mainObj.disabledDates || mainObj.disabledDates.length === 0) {
$scope.disabledDates = [];
} else {
$scope.disabledDates = [];
angular.forEach(mainObj.disabledDates, function (val, key) {
val = resetHMSM(new Date(val));
$scope.disabledDates.push(val.getTime());
Expand Down
2 changes: 0 additions & 2 deletions src/ionic-datepicker.styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,12 @@
.ionic_datepicker_modal .font_22px {
font-size: 22px;
}

.platform-android .ionic_datepicker_modal .bar .title.title-left {
text-align: center;
}
.platform-android .ionic_datepicker_modal select {
left: 25%;
}

.platform-ios .ionic_datepicker_modal select {
left: 5%;
}

0 comments on commit 1b82e6c

Please sign in to comment.