]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/user_controller.rb
Switch from Prototype to jQuery
[rails.git] / app / controllers / user_controller.rb
index de07e4b53c1938ff4400d5e05d6cb4b7ce16d9c4..07b4f597588b884c9973d39bf8122bc2dcb25ce4 100644 (file)
@@ -23,9 +23,7 @@ class UserController < ApplicationController
     @text = OSM.legal_text_for_country(@legale)
 
     if request.xhr?
-      render :update do |page|
-        page.replace_html "contributorTerms", :partial => "terms"
-      end
+      render :partial => "terms"
     elsif using_open_id?
       # The redirect from the OpenID provider reenters here
       # again and we need to pass the parameters through to