Unverified Commit 8341a9ce authored by Serge S. Koval's avatar Serge S. Koval Committed by GitHub

Merge pull request #1860 from planetmutlu-planeta/planetmutlu-planeta-patch-1

Fixed date field just allows to pick date <= 2015
parents 4e3e7e68 debd6550
...@@ -455,7 +455,14 @@ ...@@ -455,7 +455,14 @@
processLeafletWidget($el, name); processLeafletWidget($el, name);
return true; return true;
case 'x-editable': case 'x-editable':
$el.editable({params: overrideXeditableParams}); $el.editable({
params: overrideXeditableParams,
combodate: {
// prevent minutes from showing in 5 minute increments
minuteStep: 1,
maxYear: 2030,
}
});
return true; return true;
case 'x-editable-combodate': case 'x-editable-combodate':
$el.editable({ $el.editable({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment