// Fixed js condition in productcomments

This commit is contained in:
dMetzger
2012-10-02 09:50:44 +00:00
parent 965383ee1f
commit 0aa2aa5a86
@@ -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(),