aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-26 21:00:04 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-26 21:00:04 +0100
commit5cb71fa5da219e97a4c105c6025ff9b79553a38c (patch)
treeb84d7d3d9c40f2c0ae9f1a53f25acca1f4598cd4 /include
parent55d00243fbf976c3eb16203a97716dfbc9233156 (diff)
downloadvolse-hubzilla-5cb71fa5da219e97a4c105c6025ff9b79553a38c.tar.gz
volse-hubzilla-5cb71fa5da219e97a4c105c6025ff9b79553a38c.tar.bz2
volse-hubzilla-5cb71fa5da219e97a4c105c6025ff9b79553a38c.zip
default timepicker to 15 min steps. abbr -> span
Diffstat (limited to 'include')
-rw-r--r--include/datetime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datetime.php b/include/datetime.php
index f7df70a36..1d10e7ad7 100644
--- a/include/datetime.php
+++ b/include/datetime.php
@@ -235,7 +235,7 @@ function datetimesel($format, $min, $max, $default, $label, $id = 'datetimepicke
$o .= replace_macros($tpl,array(
'$field' => array($id, $label, $input_text, (($required) ? t('Required') : ''), (($required) ? '*' : ''), 'placeholder="' . $readable_format . '"'),
));
- $o .= "<script>\$(function () {var picker = \$('#id_$id').datetimepicker({step:5,format:'$dateformat' $minjs $maxjs $pickers $defaultdatejs,dayOfWeekStart:$first_day}); $extra_js})</script>";
+ $o .= "<script>\$(function () {var picker = \$('#id_$id').datetimepicker({step:15,format:'$dateformat' $minjs $maxjs $pickers $defaultdatejs,dayOfWeekStart:$first_day}); $extra_js})</script>";
return $o;
}