Displaying 1 result from an estimated 1 matches for "roilocaladdress".
2005 Dec 23
2
Bizarre problems with AJAX / missing variables
...unty variable is being set. Here is the
code for the relevant AJAX action:
def localform
rawcode = request.raw_post || request.query_string
@county = County.find( rawcode.sub( /^(\d+)\D.*$/ ) { |s| $1 } )
if ( @county.country.code == "IE" )
render :partial => "roilocaladdress", :layout => false, :locals
=> { :county => @county.id, :rawcode => rawcode }
else
render :partial => "nielocaladdress", :layout => false
end
end
and the relevant code for the contacts/roilocaladdress partial:
<div class="form-group"...