File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 13931393 $ . datepicker . _base_selectDate = $ . datepicker . _selectDate ;
13941394 $ . datepicker . _selectDate = function ( id , dateStr ) {
13951395 var inst = this . _getInst ( $ ( id ) [ 0 ] ) ,
1396- tp_inst = this . _get ( inst , 'timepicker' ) ;
1396+ tp_inst = this . _get ( inst , 'timepicker' ) ,
1397+ was_inline ;
13971398
13981399 if ( tp_inst && inst . settings . showTimepicker ) {
13991400 tp_inst . _limitMinMaxDateTime ( inst , true ) ;
1401+ was_inline = inst . inline ;
14001402 inst . inline = inst . stay_open = true ;
14011403 //This way the onSelect handler called from calendarpicker get the full dateTime
14021404 this . _base_selectDate ( id , dateStr ) ;
1403- inst . inline = inst . stay_open = false ;
1405+ inst . inline = was_inline ;
1406+ inst . stay_open = false ;
14041407 this . _notifyChange ( inst ) ;
14051408 this . _updateDatepicker ( inst ) ;
14061409 } else {
You can’t perform that action at this time.
0 commit comments