Displaying 1 result from an estimated 1 matches for "project_wiki_page_path".
2007 Nov 23
0
Restful droppable delete
I have a list of pages from which I want to delete one. This I want to
do with draggable/droppable(trash can like). Which, strange enough,
does not work.
This does work:
{{{
link_to_remote("delete", :url => project_wiki_page_path(@project,
page), :method => :delete, :title =>project_wiki_page_path(@project,
page))
}}}
But this doesn''t:
{{{
<script type="text/javascript">Droppables.add("drop_wp", {
onDrop:function(element){
new Ajax.Request(''''+element.title, {as...