trustpilot / plugin-magento1

Magento 1 plugin for sending invitation data to Trustpilot & adding TrustBoxes
MIT License
0 stars 3 forks source link

ajaxUrls broken when store code appended to URLs #3

Closed knoxjamesus closed 5 years ago

knoxjamesus commented 5 years ago

ajaxUrl javascript variable is incorrect if store code is appended to URLs in public_html\app\design\adminhtml\default\default\template\trustpilot\system\config\admin.phtml and public_html\app\design\adminhtml\default\default\template\trustpilot\system\config\adminmenu.phtml var ajaxUrl = "<?php echo Mage::helper("adminhtml")->getUrl("trustpilot/adminhtml_trustpilot/ajax"); ?>"; should be var ajaxUrl = "<?php echo Mage::helper("adminhtml")->getUrl("adminhtml/trustpilot/ajax"); ?>";

Using version 2.5.505

vilgro commented 5 years ago

Thank you for a comment. We've made a fix