clean js console

This commit is contained in:
Marion Muszynski 2016-05-19 14:47:38 +02:00
parent eb441d8edf
commit 64cfa67dbf

View File

@ -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);