aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubzilla <git@macgirvin.com>2016-06-19 12:45:47 +1000
committerGitHub <noreply@github.com>2016-06-19 12:45:47 +1000
commit310f370b552574179ff0821793fdf490ca089ce5 (patch)
treefb7eb16df3ed5ac9da4259579db2bd155301b82b
parent08f108e6cf94a8e60dba1d043628b176ff902b23 (diff)
parent5b9292251640d85566f3084d0c7d71af0fdb913e (diff)
downloadvolse-hubzilla-310f370b552574179ff0821793fdf490ca089ce5.tar.gz
volse-hubzilla-310f370b552574179ff0821793fdf490ca089ce5.tar.bz2
volse-hubzilla-310f370b552574179ff0821793fdf490ca089ce5.zip
Merge pull request #426 from eduoda/master
When picktime is false, close date selector on date select
-rw-r--r--include/datetime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datetime.php b/include/datetime.php
index 83fb49d04..e756df6b4 100644
--- a/include/datetime.php
+++ b/include/datetime.php
@@ -225,7 +225,7 @@ function datetimesel($format, $min, $max, $default, $label, $id = 'datetimepicke
$pickers = '';
if(!$pickdate) $pickers .= ',datepicker: false';
- if(!$picktime) $pickers .= ',timepicker: false';
+ if(!$picktime) $pickers .= ',timepicker: false, closeOnDateSelect:true';
$extra_js = '';
if($minfrom != '')