mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Enable datepicker for readonly fields
Remove minDate definition, so that value appears in readonly input
This commit is contained in:
parent
7495ca89ef
commit
780d37eb41
1 changed files with 2 additions and 2 deletions
|
|
@ -15,13 +15,13 @@ $(function () {
|
||||||
|
|
||||||
$("#conference-start-datepicker").datetimepicker({
|
$("#conference-start-datepicker").datetimepicker({
|
||||||
useCurrent: false,
|
useCurrent: false,
|
||||||
|
ignoreReadonly: true,
|
||||||
format: "YYYY-MM-DD",
|
format: "YYYY-MM-DD",
|
||||||
// conference-start-day >= Current_date
|
|
||||||
minDate : today
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#conference-end-datepicker").datetimepicker({
|
$("#conference-end-datepicker").datetimepicker({
|
||||||
useCurrent: false,
|
useCurrent: false,
|
||||||
|
ignoreReadonly: true,
|
||||||
format: "YYYY-MM-DD"
|
format: "YYYY-MM-DD"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue