[-] MO : BugFix : #PSCFV-2822 : ProductComment module : submitNewMessage url problem

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16115 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-06-25 09:52:35 +00:00
parent f87876d494
commit 6eeeb37b9e
3 changed files with 5 additions and 2 deletions
@@ -54,8 +54,9 @@ $(function() {
e.preventDefault();
// Form element
url_options = productcomments_url_rewrite ? '?' : '&';
$.ajax({
url: productcomments_controller_url+'&action=add_comment&secure_key='+secure_key,
url: productcomments_controller_url+url_options+'action=add_comment&secure_key='+secure_key,
data: $('#fancybox-content form').serialize(),
type: 'POST',
dataType: "json",