]> git.openstreetmap.org Git - rails.git/commit
Wait for dom:loaded to fire before initialising the map
authorTom Hughes <tom@compton.nu>
Thu, 7 Jul 2011 09:02:42 +0000 (10:02 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 7 Jul 2011 09:02:42 +0000 (10:02 +0100)
commit7e4ceec192572936f5618d6e834bd5cea4f26b80
tree63b36a4f2d7e8887c14cee98601dd4498d25f5fa
parentcb4f1e62a0c1ef87db0ae60b024e77f6502fe394
Wait for dom:loaded to fire before initialising the map

Also very all our use of window.onload and switch to using dom:loaded
instead where we can - the main case where we can't is when using a
vector layer as IE will fail unless the page is completely loaded.
app/views/changeset/_map.html.erb
app/views/site/edit.html.erb
app/views/site/index.html.erb