Permalink
Browse files

Fix query params with ampersand

  • Loading branch information...
sebastienheraud committed Dec 13, 2018
1 parent 76a194d commit 063b7364b54b0e92ab78f45c32d91969143982af
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/com_cck/views/list/tmpl/default.php
@@ -126,7 +126,7 @@
var elem_target = "<?php echo $pre; ?>.cck-loading-more";
var replace_html = replace_html || 0;
$("form#<?php echo $this->form_id; ?> [data-cck-ajax=\'\']").each(function(i) {
query_params += "&"+$(this).attr("name")+"="+$(this).myVal();
query_params += "&"+$(this).attr("name")+"="+$(this).myVal().replace("&", "%26");
});
if (has_more < 0) {
data_type = 'json';

0 comments on commit 063b736

Please sign in to comment.