clean js console
This commit is contained in:
parent
eb441d8edf
commit
64cfa67dbf
@ -425,7 +425,6 @@ $(function(){ldelim}
|
|||||||
var inval = $("<div />").text($("#postcode").val()).html();
|
var inval = $("<div />").text($("#postcode").val()).html();
|
||||||
if(inval != "") {
|
if(inval != "") {
|
||||||
creq = $.getJSON("{/literal}{$base_dir_ssl}{literal}check_address.php?token={/literal}{$address_ac_token}{literal}&id_country=" + parseInt($("#id_country").val()) + "&postcode=" + inval, function(result) {
|
creq = $.getJSON("{/literal}{$base_dir_ssl}{literal}check_address.php?token={/literal}{$address_ac_token}{literal}&id_country=" + parseInt($("#id_country").val()) + "&postcode=" + inval, function(result) {
|
||||||
console.log(result);
|
|
||||||
if(result) {
|
if(result) {
|
||||||
if(result.length == 1) {
|
if(result.length == 1) {
|
||||||
$("#postcode").val(result[0].postcode);
|
$("#postcode").val(result[0].postcode);
|
||||||
|
Loading…
Reference in New Issue
Block a user