update geo module

This commit is contained in:
rolux 2011-11-17 02:15:03 +01:00
commit 1503901e81
39 changed files with 3945 additions and 1685 deletions

View file

@ -99,11 +99,15 @@
JSON.stringify(json, null, 4)
);
window.status = json.length + '/' + countries.length + ' ' + country.name;
Ox.print(logs);
if (countries.length) {
setTimeout(callGetData, timeout);
} else {
alert('Done');
if (logs.length) {
Ox.print('Errors:', logs);
alert('Done, see console for errors.');
} else {
alert('Done, no errors.');
}
}
});
}