Displaying 1 result from an estimated 1 matches for "keyword_controller".
Did you mean:
keywords_controller
2006 Jul 11
0
Inplace editor oddity
...e user clicks OK) it then spits
back the try/catch javascript code which gets inserted into the DIV. I''ve
tried returning false but it doesn''t do any good. I also can''t render
:nothing => true because I get a ''double render error''
Any thoughts?
#in keyword_controller.rb
def set_bid
params[:value].gsub!(/[^\d\.]/, '''')
if params[:value].to_f == 0.0
render :update do |page|
page.alert(''You must enter a dollar amount, e.g. 23.22, 0.23'')
end
return false
end
@link = KeywordLink.find(param...