Skip to content

Commit

Permalink
Fix DateTime CSS bundle inclusion (rstudio#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikmart authored and AhmedKhaled945 committed Feb 2, 2024
1 parent 53c23c7 commit 69a69ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

- Added server-side processing support for the [SearchBuilder](https://datatables.net/extensions/searchbuilder/) extension (thanks, @AhmedKhaled945, @shrektan, @mikmart, #963).

- Fixed a bug that caused the date picker widget from the DateTime extension to render incorrectly (thanks, @mikmart, #1116).

# CHANGES IN DT VERSION 0.31

- Upgraded DataTables version to 1.13.6 (thanks, @stla, #1091).
Expand Down
1 change: 1 addition & 0 deletions R/datatables.R
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@ extDependency = function(extension, style, options) {
} else js = sprintf('dataTables.%s.min.js', ext)
if (style != 'default') js = c(js, sprintf('%s.%s.min.js', ext, style))
css = sprintf('%s.%s.min.css', ext, if (style == 'default') 'dataTables' else style)
if (extension == 'DateTime') css = sprintf('dataTables.%s.min.css', ext)
js = file.path('js', js); css = file.path('css', css)
in_dir(src, {
js = existing_files(js); css = existing_files(css)
Expand Down

0 comments on commit 69a69ee

Please sign in to comment.