You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ao usar o broswer Internet Explorer 7, aparece uma cidade misteriosa em
todos os estados, no final da lista, chamada "undefined".
Para corrigir basta adicionar o seguinte código na função "addOption",
perto da linha 100.
A função ficará assim:
addOption: function (elm, val, text) {
// ESTE É O CÓDIGO NOVO A SER ADICIONADO ----
if (typeof text == 'undefined') return;
// FIM DO CÓDIGO ----
var opt = document.createElement('option');
opt.appendChild(document.createTextNode(text));
opt.value = val;
elm.appendChild(opt);
},
Original issue reported on code.google.com by [email protected] on 14 Jan 2010 at 7:08
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 14 Jan 2010 at 7:08The text was updated successfully, but these errors were encountered: