protected function _prepareLayout() { $this->getLayout()->getBlock('head')->addJs('M2ePro/General/PhpFunctions.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/General/PrototypeSimulate.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/General/CommonHandler.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/General/TranslatorHandler.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/General/PhpHandler.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/General/UrlHandler.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/Plugin/Magento/Message.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/Plugin/Magento/Block.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/Plugin/Magento/FieldTip.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/Plugin/BlockNotice.js'); $this->getLayout()->getBlock('head')->addJs('M2ePro/Initialization.js'); $this->getLayout()->getBlock('head')->addCss('M2ePro/css/main.css'); $this->getLayout()->getBlock('head')->addCss('M2ePro/css/Plugin/BlockNotice.css'); parent::_prepareLayout(); }
protected function _prepareLayout() { $this->getLayout()->getBlock('head')->removeItem('js', 'mage/adminhtml/loader.js'); $this->getLayout()->getBlock('head')->addJs('commercestack/adminhtml/recommender.js'); return parent::_prepareLayout(); }
protected function _prepareLayout() { $return = parent::_prepareLayout(); $this->initForm(); return $return; }