Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

Commit

Permalink
Datatables script is implemented by default
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCarmen committed Sep 24, 2018
1 parent 81b3355 commit 8d7751f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/Template/AdminTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ private function pageHeader(PageController $controller) {
->restrictAccess(Auth::isAdmin())
->setPageTitle($this->getTitle())
->pageHeader()
->addExternalJavascript(WT_DATATABLES_BOOTSTRAP_JS_URL)
->addExternalJavascript(WT_DATATABLES_BOOTSTRAP_JS_URL)
->addInlineJavascript('
// Notice DataTable with uppercase to use newest API (lowercase d for older API)
// See: https://stackoverflow.com/questions/35311380/uncaught-typeerror-cannot-read-property-url-of-undefined-in-datatables
Expand Down

0 comments on commit 8d7751f

Please sign in to comment.