// 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:
dMetzger
2012-10-02 09:50:44 +00:00
parent 9fd5aca4dc
commit 019ece549a

View File

@@ -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(),