[-] BO : FixBug #PSCFV-9881 Remove updateCarriersList on zip code blur

This commit is contained in:
Jérôme Nadaud
2013-07-22 18:05:37 +02:00
parent 0f7d59ad26
commit 3ecf929ff0

View File

@@ -25,34 +25,38 @@
function PS_SE_HandleEvent()
{
$(document).ready(function() {
$(document).ready(function() {
$('#id_country').change(function() {
resetAjaxQueries();
updateStateByIdCountry();
});
if (SE_RefreshMethod == 0)
{
$('#id_state').change(function() {
resetAjaxQueries();
updateCarriersList();
});
$('#zipcode').bind('blur keyup',function(e) {
if (e.type == 'blur' || e.keyCode == '13')
});
$('#zipcode').bind('keyup',function(e) {
if (e.keyCode == '13')
{
resetAjaxQueries();
updateCarriersList();
}
});
}
$('#update_carriers_list').click(function() {
updateCarriersList();
});
$('#carriercompare_submit').click(function() {
resetAjaxQueries();
saveSelection();
return false;
});
updateStateByIdCountry();
});
}