/** * Get a list of JavaScript files * * @return array */ public function getJSFiles() { $list = parent::getJSFiles(); $list[] = $this->getDir() . '/' . \XLite\View\ItemsList\Model\Table::getPageBodyDir() . '/controller.js'; $list[] = $this->getDir() . '/' . $this->getPageBodyDir() . '/controller.js'; return $list; }