Fixed issue #946 - Current date in date picker not highlighted.
This commit is contained in:
parent
8c8f24f077
commit
fb1d20c5e4
2 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,7 @@ class App.UiElement.date
|
|||
|
||||
App.Log.debug 'UiElement.date.setNewTimeInitial', timestamp, timeObject
|
||||
item.find('.js-datepicker').datepicker('setUTCDate', timeObject)
|
||||
item.find('.js-datepicker').datepicker('update')
|
||||
|
||||
@validation: (item, attribute, runtime) ->
|
||||
|
||||
|
|
|
@ -136,6 +136,7 @@ class App.UiElement.datetime
|
|||
App.Log.debug 'UiElement.datetime.setNewTimeInitial', timestamp, timeObject
|
||||
item.find('.js-datepicker').datepicker('setUTCDate', timeObject)
|
||||
item.find('.js-timepicker').val(time)
|
||||
item.find('.js-datepicker').datepicker('update')
|
||||
|
||||
@validation: (item, attribute, runtime) ->
|
||||
|
||||
|
|
Loading…
Reference in a new issue