//fixed somes bug on carriers wizard
This commit is contained in:
@@ -450,11 +450,11 @@ function add_new_range()
|
||||
|
||||
last_sup_val = $('tr.range_sup td:last input').val();
|
||||
//add new rand sup input
|
||||
$('tr.range_sup td:last').after('<td class="center"><input name="range_sup[]" type="text" /><sup>*</sup></td>');
|
||||
$('tr.range_sup td:last').after('<td class="center"><input name="range_sup[]" type="text" /><sup>*</sup><span class="weight_unit" style="display: none;"> '+PS_WEIGHT_UNIT+'</span><span class="price_unit" style="display: none;"> '+currency_sign+'</span></td>');
|
||||
//add new rand inf input
|
||||
$('tr.range_inf td:last').after('<td class="border_bottom center"><input name="range_inf[]" type="text" value="'+last_sup_val+'" /><sup>*</sup></td>');
|
||||
$('tr.range_inf td:last').after('<td class="border_bottom center"><input name="range_inf[]" type="text" value="'+last_sup_val+'" /><sup>*</sup><span class="weight_unit" style="display: none;"> '+PS_WEIGHT_UNIT+'</span><span class="price_unit" style="display: none;"> '+currency_sign+'</span></td>');
|
||||
|
||||
$('tr.fees_all td:last').after('<td class="center border_top border_bottom"><input style="display:none" type="text" /> <button class="button">'+labelValidate+'</button</td>');
|
||||
$('tr.fees_all td:last').after('<td class="center border_top border_bottom"><input style="display:none" type="text" /><span class="currency_sign" style="display:none" >'+currency_sign+'</span> <button class="button">'+labelValidate+'</button</td>');
|
||||
|
||||
$('tr.fees').each( function () {
|
||||
$(this).children('td:last').after('<td class="center"><input disabled="disabled" name="fees['+$(this).data('zoneid')+'][]" type="text" /> '+currency_sign+'</td>');
|
||||
@@ -464,7 +464,7 @@ function add_new_range()
|
||||
resizeWizard();
|
||||
bind_inputs();
|
||||
rebuildTabindex();
|
||||
|
||||
displayRangeType();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user