Skip to content

Commit

Permalink
Aspas incorreta no JS buscaCep
Browse files Browse the repository at this point in the history
  • Loading branch information
hebertreis committed Oct 23, 2015
1 parent 03c9250 commit 55872c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function buscaCep(quale) {
var cep = jQuery('input[name*="' + quale + '[postcode]"]').val();
if (cep != '' && cep.length == 8) {
loadposthideshow(true, '.onestepcheckout-postcod-process');
jQuery.getScript("urlBase + "ajax/busca_cep?cep="+ cep + "", function() {
jQuery.getScript(urlBase + "ajax/busca_cep?cep="+ cep + "", function() {
loadposthideshow(false, '.onestepcheckout-postcod-process');
if (resultadoCEP["resultado"] != 0) {
if (unescape(resultadoCEP["logradouro"])) jQuery('input[name*="' + quale + '[street][]"]').val(unescape(resultadoCEP["tipo_logradouro"]) + " "+ unescape(resultadoCEP["logradouro"]));
Expand Down

0 comments on commit 55872c0

Please sign in to comment.