]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node.rb
Wait for dom:loaded to fire before initialising the map
[rails.git] / app / models / node.rb
index 7db4aed09829aa7e0c5a82a13568c0475f444add..3a1d580e052b8cc713f6299a57fdb84057bd18e5 100644 (file)
@@ -142,6 +142,7 @@ class Node < ActiveRecord::Base
       raise OSM::APIPreconditionFailedError.new("Node #{self.id} is still used by relation #{rel.relation.id}.") unless rel.nil?
 
       self.changeset_id = new_node.changeset_id
+      self.tags = {}
       self.visible = false
       
       # update the changeset with the deleted position