aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOda <oda@member.fsf.org>2016-06-18 23:03:06 -0300
committerOda <oda@member.fsf.org>2016-06-18 23:03:06 -0300
commit5b9292251640d85566f3084d0c7d71af0fdb913e (patch)
treefb7eb16df3ed5ac9da4259579db2bd155301b82b
parent08f108e6cf94a8e60dba1d043628b176ff902b23 (diff)
downloadvolse-hubzilla-5b9292251640d85566f3084d0c7d71af0fdb913e.tar.gz
volse-hubzilla-5b9292251640d85566f3084d0c7d71af0fdb913e.tar.bz2
volse-hubzilla-5b9292251640d85566f3084d0c7d71af0fdb913e.zip
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 != '')