Example #1
0
 /**
  * Register JS files. TODO REWORK with Popup button widget
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     // TODO must be taken from Button/InstallAddon widget
     $list[] = 'button/js/install_addon.js';
     $list[] = 'button/js/select_installation_type.js';
     // TODO must be taken from SwitchButton widget
     $list[] = \XLite\View\Button\SwitchButton::JS_SCRIPT;
     // TODO must be taken from LICENSE module widget
     $list[] = 'modules_manager/license/js/switch-button.js';
     $list[] = $this->getDir() . '/' . $this->getPageBodyDir() . '/js/controller.js';
     $list[] = 'items_list/module/install/parts/columns/info/actions/js/install.js';
     return $list;
 }
Example #2
0
 /**
  * Register JS files. TODO REWORK with Popup button widget
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = $this->getDir() . '/' . $this->getPageBodyDir() . '/js/controller.js';
     return $list;
 }