]> git.openstreetmap.org Git - rails.git/blob - app/views/map_bugs/get_bugs.rjs
7268ded746c05d407b70e6b011b5ad1949846dbf
[rails.git] / app / views / map_bugs / get_bugs.rjs
1 @bugs.each do |bug|
2   page.call "putAJAXMarker",
3             bug.id, bug.lon, bug.lat,
4             bug.flatten_comment("<hr />"),
5             bug.status == "open" ? 0 : 1
6 end