I have a few in place edit fields in a table. but when i enter a null
value it now, promts me with the alert. ~BUT then enters the returned
rjs into the editable field: ~??
try {ry { alert(“not working”); } catch (e) { alert(‘RJS error:\n\n’ +
e.toString()); alert(‘alert(“not working”);’); throw e }
rhtml:
Which call this method:
def set_track_title
@track = Track.find(params[:id])
@track.title = params[:value]
@message = “\n Title #{@track.errors[‘title’]}” unless @track.save
render :action => 'update_track.rjs'
end
=-----------------
Which calls this rjs template
page.alert ‘why wont you work…damn you rjs error!!’