]> git.openstreetmap.org Git - rails.git/commitdiff
Don't call formatChanged() when disabling XML output as it has side effects.
authorTom Hughes <tom@compton.nu>
Sat, 19 Apr 2008 10:48:48 +0000 (10:48 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 19 Apr 2008 10:48:48 +0000 (10:48 +0000)
app/views/export/start.rjs
config/database.yml

index 1a157afcac30ab71149ebf7fb05b368a73f7d4de..2796d92fe83b328abf779ff38580e5d752e8b57f 100644 (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;
     }
index b884f3b938fea8c5ea541e0d4af5fbbc16529dd7..5d7a0313e305992be2155c59d4ae945dfcd8cf58 100644 (file)
@@ -32,5 +32,5 @@ production:
   database: openstreetmap
   username: openstreetmap
   password: openstreetmap
-  host: db.openstreetmap.org
+  host: localhost