// Fixed js condition in productcomments
This commit is contained in:
@@ -54,7 +54,8 @@ $(function() {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
// Form element
|
// Form element
|
||||||
url_options = productcomments_url_rewrite ? '&' : '?';
|
|
||||||
|
url_options = parseInt(productcomments_url_rewrite) ? '?' : '&';
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: productcomments_controller_url+url_options+'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(),
|
data: $('#fancybox-content form').serialize(),
|
||||||
|
|||||||
Reference in New Issue
Block a user