Close down export properly when the sidebar is closed.
authorTom Hughes <tom@compton.nu>
Sun, 20 Apr 2008 08:38:47 +0000 (08:38 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 20 Apr 2008 08:38:47 +0000 (08:38 +0000)
app/views/export/start.rjs

index c0fced02585b1af56b72ee88e00aeb9885185efa..7a323b05bcc3718e259916f606c3319bdc9ae95f 100644 (file)
@@ -43,8 +43,8 @@ page << <<EOJ
     $("viewanchor").className = "active";
     $("exportanchor").className = "";
 
+    clearBox();
     map.events.unregister("moveend", map, mapMoved);
-    box.handler.clear();
     map.removeLayer(vectors);
   }