// Fixed js condition in productcomments
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17675 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -54,7 +54,8 @@ $(function() {
|
||||
e.preventDefault();
|
||||
|
||||
// Form element
|
||||
url_options = productcomments_url_rewrite ? '&' : '?';
|
||||
|
||||
url_options = parseInt(productcomments_url_rewrite) ? '?' : '&';
|
||||
$.ajax({
|
||||
url: productcomments_controller_url+url_options+'action=add_comment&secure_key='+secure_key,
|
||||
data: $('#fancybox-content form').serialize(),
|
||||
|
||||
Reference in New Issue
Block a user