Don't call formatChanged() when disabling XML output as it has side effects.

This commit is contained in:
Tom Hughes 2008-04-19 10:48:48 +00:00
parent 9bae22aacb
commit 7ebb29d195
2 changed files with 2 additions and 3 deletions

View file

@ -129,8 +129,7 @@ page << <<EOJ
if (bounds.getWidth() * bounds.getHeight() > 0.25) {
$("format_osm").disabled = true;
$("format_osm").checked = false;
formatChanged();
$("export_osm").style.display = "none";
} else {
$("format_osm").disabled = false;
}

View file

@ -32,5 +32,5 @@ production:
database: openstreetmap
username: openstreetmap
password: openstreetmap
host: db.openstreetmap.org
host: localhost