[-] 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:
@@ -434,7 +434,7 @@
|
|||||||
if (carriers.length > 0)
|
if (carriers.length > 0)
|
||||||
{
|
{
|
||||||
$.each(carriers, function() {
|
$.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();
|
$('#carrier_form').show();
|
||||||
$('#id_carrier').html(html);
|
$('#id_carrier').html(html);
|
||||||
@@ -714,7 +714,7 @@
|
|||||||
},
|
},
|
||||||
success : function(res)
|
success : function(res)
|
||||||
{
|
{
|
||||||
displaySummary(res);
|
displaySummary(res);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -986,7 +986,7 @@
|
|||||||
<div id="carrier_form">
|
<div id="carrier_form">
|
||||||
<div>
|
<div>
|
||||||
<p>
|
<p>
|
||||||
<label>{l s='Carriers:'} </label>
|
<label>{l s='Carrier:'} </label>
|
||||||
<select name="id_carrier" id="id_carrier">
|
<select name="id_carrier" id="id_carrier">
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user