// blocklayered : Fix bug with pagination reloading
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15159 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -391,12 +391,16 @@ function reloadContent(params_plus)
|
||||
if ($(result.pagination).find('ul.pagination').length)
|
||||
{
|
||||
$('div#pagination').show();
|
||||
$('ul.pagination').replaceWith($(result.pagination).find('ul.pagination'));
|
||||
$('ul.pagination').each(function () {
|
||||
$(this).replaceWith($(result.pagination).find('ul.pagination'));
|
||||
});
|
||||
}
|
||||
else if (!$('ul.pagination').length)
|
||||
{
|
||||
$('div#pagination').show();
|
||||
$('div#pagination').html($(result.pagination));
|
||||
$('div#pagination').each(function () {
|
||||
$(this).html($(result.pagination));
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user