Permalink
Browse files

Datatables script is implemented by default

  • Loading branch information...
JustCarmen committed May 20, 2018
1 parent 81b3355 commit 8d7751fd58fc94a2fe054cc2d7acf2b91ead1eec
Showing with 0 additions and 2 deletions.
  1. +0 −2 app/Template/AdminTemplate.php
@@ -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

0 comments on commit 8d7751f

Please sign in to comment.