// Changing Typo preserving backward compatibility
This commit is contained in:
@@ -1073,6 +1073,8 @@ $(window).load(function () {
|
||||
$("select.form-control,input[type='checkbox']:not(.comparator), input[type='radio'],input#id_carrier2, input[type='file']").uniform();
|
||||
$("#uniform-selectPrductSort1").innerWidth(0);
|
||||
$("#uniform-selectPrductSort1 span").innerWidth(0);
|
||||
$("#uniform-selectProductSort1").innerWidth(0);
|
||||
$("#uniform-selectProductSort1 span").innerWidth(0);
|
||||
});
|
||||
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ $(document).ready(function()
|
||||
hideFilterValueAction(this);
|
||||
});
|
||||
|
||||
// To be sure there is no other events attached to the selectPrductSort, change the ID
|
||||
// To be sure there is no other events attached to the selectProductSort, change the ID
|
||||
var id = 1;
|
||||
while ($('#selectPrductSort').length) { // Because ids are duplicated
|
||||
// Unbind event change on #selectPrductSort
|
||||
@@ -134,6 +134,16 @@ $(document).ready(function()
|
||||
$('label[for=selectPrductSort]').attr('for', 'selectPrductSort'+id);
|
||||
id++;
|
||||
}
|
||||
|
||||
while ($('#selectProductSort').length) { // Because ids are duplicated
|
||||
// Unbind event change on #selectProductSort
|
||||
$('#selectProductSort').unbind('change');
|
||||
$('#selectProductSort').attr('onchange', '');
|
||||
$('#selectProductSort').addClass('selectProductSort');
|
||||
$('#selectProductSort').attr('id', 'selectProductSort'+id);
|
||||
$('label[for=selectProductSort]').attr('for', 'selectProductSort'+id);
|
||||
id++;
|
||||
}
|
||||
|
||||
// Since 1.5, event is add to .selectProductSort and not to #selectPrductSort
|
||||
setTimeout(function() {
|
||||
|
||||
Reference in New Issue
Block a user