Don't call formatChanged() when disabling XML output as it has side effects.
This commit is contained in:
parent
9bae22aacb
commit
7ebb29d195
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -32,5 +32,5 @@ production:
|
|||
database: openstreetmap
|
||||
username: openstreetmap
|
||||
password: openstreetmap
|
||||
host: db.openstreetmap.org
|
||||
host: localhost
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue