Merge pull request #592 from Captain-FLAM/patch-8
[*] MO : blocklayered : Supress unsuseful # at the end of URLs
This commit is contained in:
@@ -538,7 +538,7 @@ function getUrlParams()
|
|||||||
function updateProductUrl()
|
function updateProductUrl()
|
||||||
{
|
{
|
||||||
// Adding the filters to URL product
|
// Adding the filters to URL product
|
||||||
if (typeof(param_product_url) != 'undefined') {
|
if (typeof(param_product_url) != 'undefined' && param_product_url != '' && param_product_url !='#') {
|
||||||
$.each($('ul#product_list li.ajax_block_product .product_img_link,'+
|
$.each($('ul#product_list li.ajax_block_product .product_img_link,'+
|
||||||
'ul#product_list li.ajax_block_product h3 a,'+
|
'ul#product_list li.ajax_block_product h3 a,'+
|
||||||
'ul#product_list li.ajax_block_product .product_desc a,'+
|
'ul#product_list li.ajax_block_product .product_desc a,'+
|
||||||
@@ -624,4 +624,4 @@ function blocklayeredFormatNumber(value, numberOfDecimal, thousenSeparator, virg
|
|||||||
if (parseInt(numberOfDecimal) == 0)
|
if (parseInt(numberOfDecimal) == 0)
|
||||||
return abs_val_string;
|
return abs_val_string;
|
||||||
return abs_val_string + virgule + (deci_string > 0 ? deci_string : '00');
|
return abs_val_string + virgule + (deci_string > 0 ? deci_string : '00');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user