Skip to content

Commit

Permalink
SAK-40358 - Clean up old usages of date/time picker (sakaiproject#5817)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm committed Jul 23, 2018
1 parent b0f368d commit 61f31c1
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 4,276 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,7 @@ public void fillComponents(UIContainer tofill, ViewParameters viewParams, Compon
UIOutput.make(tofill, "html").decorate(new UIFreeAttributeDecorator("lang", localegetter.get().getLanguage()))
.decorate(new UIFreeAttributeDecorator("xml:lang", localegetter.get().getLanguage()));

UIOutput.make(tofill, "datepicker").decorate(new UIFreeAttributeDecorator("src",
(majorVersion >= 10 ? "/library" : "/lessonbuilder-tool") + "/js/lang-datepicker/lang-datepicker.js" + PortalUtils.getCDNQuery()));
UIOutput.make(tofill, "datepicker").decorate(new UIFreeAttributeDecorator("src", "/library/js/lang-datepicker/lang-datepicker.js" + PortalUtils.getCDNQuery()));

UIOutput.make(tofill, "portletBody").decorate(new UIFreeAttributeDecorator("sakaimajor", Integer.toString(majorVersion)))
.decorate(new UIFreeAttributeDecorator("sakaiversion", fullVersion));
Expand Down
Loading

0 comments on commit 61f31c1

Please sign in to comment.