]> git.openstreetmap.org Git - rails.git/commitdiff
Fix note commenting
authorJohn Firebaugh <john.firebaugh@gmail.com>
Wed, 13 Nov 2013 23:22:36 +0000 (15:22 -0800)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Wed, 13 Nov 2013 23:22:36 +0000 (15:22 -0800)
app/assets/javascripts/index/note.js.erb

index b9730bf1da08b5e1147d19186353ffe1cb2d11f9..5022cfb809b0740f657513af6e8ef96df310047e 100644 (file)
@@ -38,7 +38,7 @@ OSM.Note = function (map) {
         } else if (marker) {
           marker.setIcon(noteIcons[feature.properties.status]);
         }
         } else if (marker) {
           marker.setIcon(noteIcons[feature.properties.status]);
         }
-        page.load();
+        OSM.loadSidebarContent(window.location.pathname, page.load);
       }
     });
   }
       }
     });
   }