Example #1
0
 /**
  * Register JS files
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = 'modules/CDev/Sale/product_modify_sale/js/script.js';
     return $list;
 }
Example #2
0
 /**
  * Get a list of JS files required to display the widget properly
  *
  * @return array
  */
 public function getJSFiles()
 {
     $list = parent::getJSFiles();
     $list[] = $this->getDir() . '/js/range.js';
     return $list;
 }