From: Tom Hughes Date: Wed, 15 Sep 2010 09:52:04 +0000 (+0100) Subject: Work around change in handler behaviour in OpenLayers 2.10 X-Git-Tag: live~6318^2~5 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/5c520a928b197c0075dae8090baf8d2df7f3874f?ds=sidebyside Work around change in handler behaviour in OpenLayers 2.10 We need to install the endDrag routine as the "done" handler after creating the control otherwise the control will overwrite our handler with one of it's own. --- diff --git a/app/views/browse/start.rjs b/app/views/browse/start.rjs index 1b68043c9..d4ef1f530 100644 --- a/app/views/browse/start.rjs +++ b/app/views/browse/start.rjs @@ -25,10 +25,10 @@ page << <