Add close button to datetime picker widget

This commit is contained in:
Christopher C. Wells 2020-01-27 14:59:40 -08:00
parent 26b54b114e
commit 87a38f4e87
7 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
return { return {
init: function (element, options) { init: function (element, options) {
var defaultOptions = { var defaultOptions = {
buttons: { showToday: true }, buttons: { showToday: true, showClose: true },
defaultDate: 'now', defaultDate: 'now',
format: 'L LT', format: 'L LT',
ignoreReadonly: true, ignoreReadonly: true,

View File

@ -23,7 +23,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
return { return {
init: function (element, options) { init: function (element, options) {
var defaultOptions = { var defaultOptions = {
buttons: { showToday: true }, buttons: { showToday: true, showClose: true },
defaultDate: 'now', defaultDate: 'now',
format: 'L LT', format: 'L LT',
ignoreReadonly: true, ignoreReadonly: true,

Binary file not shown.

View File

@ -23,7 +23,7 @@ BabyBuddy.DatetimePicker = function ($, moment) {
return { return {
init: function (element, options) { init: function (element, options) {
var defaultOptions = { var defaultOptions = {
buttons: { showToday: true }, buttons: { showToday: true, showClose: true },
defaultDate: 'now', defaultDate: 'now',
format: 'L LT', format: 'L LT',
ignoreReadonly: true, ignoreReadonly: true,

Binary file not shown.

File diff suppressed because one or more lines are too long