[-] BO : FixBug #PSCFV-9881 Remove updateCarriersList on zip code blur
This commit is contained in:
@@ -26,33 +26,37 @@
|
|||||||
function PS_SE_HandleEvent()
|
function PS_SE_HandleEvent()
|
||||||
{
|
{
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#id_country').change(function() {
|
$('#id_country').change(function() {
|
||||||
resetAjaxQueries();
|
resetAjaxQueries();
|
||||||
updateStateByIdCountry();
|
updateStateByIdCountry();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (SE_RefreshMethod == 0)
|
if (SE_RefreshMethod == 0)
|
||||||
{
|
{
|
||||||
$('#id_state').change(function() {
|
$('#id_state').change(function() {
|
||||||
resetAjaxQueries();
|
resetAjaxQueries();
|
||||||
updateCarriersList();
|
updateCarriersList();
|
||||||
});
|
});
|
||||||
$('#zipcode').bind('blur keyup',function(e) {
|
|
||||||
if (e.type == 'blur' || e.keyCode == '13')
|
$('#zipcode').bind('keyup',function(e) {
|
||||||
|
if (e.keyCode == '13')
|
||||||
{
|
{
|
||||||
resetAjaxQueries();
|
resetAjaxQueries();
|
||||||
updateCarriersList();
|
updateCarriersList();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#update_carriers_list').click(function() {
|
$('#update_carriers_list').click(function() {
|
||||||
updateCarriersList();
|
updateCarriersList();
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#carriercompare_submit').click(function() {
|
$('#carriercompare_submit').click(function() {
|
||||||
resetAjaxQueries();
|
resetAjaxQueries();
|
||||||
saveSelection();
|
saveSelection();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
updateStateByIdCountry();
|
updateStateByIdCountry();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user