protected function _toHtml() { $this->js->add(<<<JS require([ 'M2ePro/Wizard/InstallationEbay', ], function(){ window.InstallationEbayWizardObj = new WizardInstallationEbay(); }); JS ); return parent::_toHtml(); }
protected function _toHtml() { $this->js->add(<<<JS require([ 'M2ePro/Wizard/MigrationFromMagento1', ], function(){ window.MigrationFromMagento1Obj = new MigrationFromMagento1(); }); JS ); return parent::_toHtml(); }