jquery-datatables-rails 3.1.1 question (yes, I realize a bit out of scope)

jquery-datatables-rails 3.1.1 question (yes, I realize a bit out of scope)

rstudnerrstudner Posts: 21Questions: 10Answers: 0

I keep seeing this in my console log:
GET http://localhost:3000/assets/images/sort_both.png 404 (Not Found)
jquery.dataTables.js?body=1:4246 GET http://localhost:3000/assets/images/sort_desc.png 404 (Not Found)
jquery.js?body=1:5996 GET http://localhost:3000/assets/images/sort_asc.png 404 (Not Found)

Is it hardcoded somewhere, or easily overridable, to specify "where" it should be getting these images as a .js option?

Answers

  • tangerinetangerine Posts: 3,350Questions: 37Answers: 394

    These icons are addressed in the Datatables' CSS file(s). You could amend those references, or override with your own css. I would think the easiest option would be to put copies of the icons in assets/images.

This discussion has been closed.