[-] BO : #PSTEST-614 - Fix bug with not selectable carrier in the BO order creation

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12877 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-02-01 08:30:24 +00:00
parent 184be61bb3
commit af56e95330
@@ -434,7 +434,7 @@
if (carriers.length > 0)
{
$.each(carriers, function() {
html += '<option value="'+this.id_carrier+'">'+this.name+' - '+this.delay+'</option>';
html += '<option value="'+this.id_carrier+'" ' + ((parseInt($('#id_carrier').val()) == this.id_carrier) ? 'selected="selected"' : '') + '>'+this.name+' - '+this.delay+'</option>';
});
$('#carrier_form').show();
$('#id_carrier').html(html);
@@ -714,7 +714,7 @@
},
success : function(res)
{
displaySummary(res);
displaySummary(res);
}
});
}
@@ -986,7 +986,7 @@
<div id="carrier_form">
<div>
<p>
<label>{l s='Carriers:'} </label>
<label>{l s='Carrier:'} </label>
<select name="id_carrier" id="id_carrier">
</select>
</p>