mirror of https://github.com/snachodog/mybuddy.git
Add close button to datetime picker widget
This commit is contained in:
parent
26b54b114e
commit
87a38f4e87
|
@ -23,7 +23,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
|
|||
return {
|
||||
init: function (element, options) {
|
||||
var defaultOptions = {
|
||||
buttons: { showToday: true },
|
||||
buttons: { showToday: true, showClose: true },
|
||||
defaultDate: 'now',
|
||||
format: 'L LT',
|
||||
ignoreReadonly: true,
|
||||
|
|
|
@ -23,7 +23,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
|
|||
return {
|
||||
init: function (element, options) {
|
||||
var defaultOptions = {
|
||||
buttons: { showToday: true },
|
||||
buttons: { showToday: true, showClose: true },
|
||||
defaultDate: 'now',
|
||||
format: 'L LT',
|
||||
ignoreReadonly: true,
|
Binary file not shown.
|
@ -23,7 +23,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
|
|||
return {
|
||||
init: function (element, options) {
|
||||
var defaultOptions = {
|
||||
buttons: { showToday: true },
|
||||
buttons: { showToday: true, showClose: true },
|
||||
defaultDate: 'now',
|
||||
format: 'L LT',
|
||||
ignoreReadonly: true,
|
||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue