Displaying 1 result from an estimated 1 matches for "add_item_to_select".
Did you mean:
  add_item_to_selected
  
2007 Nov 16
1
drag & drop list needs refreshing
...script.aculo.us/shop)  and  I''m almost done
but after dropping an item on the target div I need to refresh the
page to see that the item has been moved. This happens even if I
render the partial on my controller (just to test it I use only 1 item
stored on the session variable)
[code]
def add_item_to_selected
     item_id = params[:id]
     session[:selected_items] = item_id
     render :partial => ''items''
   end
[/code]
The other code is below
[code]
#view
<div id="itemList"><%= render :partial => "item_list"%></div>
<div id="...