Displaying 1 result from an estimated 1 matches for "new_pd_fil".
Did you mean:
new_pd_file
2006 Oct 11
0
Upload Progress and Finishing Up
...).
I have this code at the end of my upload action:
render :update do |page|
page << "window.parent.UploadProgress.finish();"
page.insert_html :before, ''file_upload_box'', :partial =>
''/collection/file_item'', :locals => {:file_item => @new_pd_file}
page.visual_effect :fade, "file_item#{@new_pd_file.id}"
end
The idea is that it calls the JavaScript finish and then it inserts a new TR
in my table, showing the item that was just uploaded. Instead I just see the
rendered JavaScript in the iFrame.
Any ideas why this isn?t working?...