From: Tom Hughes Date: Sat, 19 Apr 2008 10:48:48 +0000 (+0000) Subject: Don't call formatChanged() when disabling XML output as it has side effects. X-Git-Tag: live~8423^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/7ebb29d195c2761f11f7c87dec3f9559bb9a8500 Don't call formatChanged() when disabling XML output as it has side effects. --- diff --git a/app/views/export/start.rjs b/app/views/export/start.rjs index 1a157afca..2796d92fe 100644 --- a/app/views/export/start.rjs +++ b/app/views/export/start.rjs @@ -129,8 +129,7 @@ page << < 0.25) { $("format_osm").disabled = true; $("format_osm").checked = false; - - formatChanged(); + $("export_osm").style.display = "none"; } else { $("format_osm").disabled = false; } diff --git a/config/database.yml b/config/database.yml index b884f3b93..5d7a0313e 100644 --- a/config/database.yml +++ b/config/database.yml @@ -32,5 +32,5 @@ production: database: openstreetmap username: openstreetmap password: openstreetmap - host: db.openstreetmap.org + host: localhost