// productcomments
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8835 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<script type="text/javascript" src="{$module_dir}js/jquery.rating.pack.js"></script>
|
||||
<script type="text/javascript" src="{$module_dir}js/jquery.textareaCounter.plugin.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(function(){literal}{{/literal} $('input[@type=radio].star').rating(); {literal}}{/literal});
|
||||
$(function(){literal}{{/literal}
|
||||
|
||||
@@ -768,6 +768,8 @@ class ProductComments extends Module
|
||||
public function hookHeader()
|
||||
{
|
||||
$this->context->controller->addCSS($this->_path.'productcomments.css', 'all');
|
||||
$this->context->controller->addJS($this->_path.'js/jquery.rating.pack.js');
|
||||
$this->context->controller->addJS($this->_path.'js/jquery.textareaCounter.plugin.js');
|
||||
$this->_frontOfficePostProcess();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user