any ideas? On Dec 8, 6:45 pm, Me <[email protected]> wrote: > I am doing a project/tasks thing all ajax. I have the current project > list in a drop down list but this issue is popping up again when I re > render thepartialto update the list when a project is closed it doesnotgive > me a prompt even though it is in the options. I can reload > the whole page and it works which is strange. I have triedreplace_htmland > also replace and it still gives me the same result. > > current_projectspartial: > > <%=select( :project, :id, current_user.projects.find > (:all,:conditions=>{:completed => false}).collect {|p| [ p.name, > p.id ] }, > { :prompt => true}, { :onchange => remote_function( :url => > { :controller => 'projects', :action => 'showproject', :id => '1' }, > :with => "'p_id=' + this.value" ) } ) %>
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

