Skip to content

Commit

Permalink
SCORM SCO-177 configure > date pickers don't appear (sakaiproject#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjones86 authored and ern committed Apr 11, 2024
1 parent d3ac945 commit 172a871
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected void onInitialize()
setOutputMarkupId(true);
dateConverter = new SakaiIsoDateConverter(getMarkupId());

add(AttributeModifier.append("class", "form-control datepicker sakai-datetimefield"));
add(AttributeModifier.append("class", "sakai-datetimefield"));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
function loadJQueryDatePicker(inputField, allowEmptyDate, value)
{
if (typeof $.fn.button.noConflict === typeof Function)
{
// bootstrap has taken over the button() function, assign it back to jquery ui
// to resolve conflicts with the timepicker plugin
$.fn.button.noConflict();
}

localDatePicker(
{
input: '#' + inputField,
Expand Down

0 comments on commit 172a871

Please sign in to comment.