survey/app/views/admin/surveys/index.js.erb

4 lines
416 B
Plaintext
Raw Permalink Normal View History

2014-10-06 05:55:25 +00:00
$("#delete_all").attr("action", "<%= delete_admin_surveys_path(:direction => params[:direction], :sort => params[:sort], :filter => @filter, :new_filter => nil, :sort_options => params[:sort_options]) %>");
$("#sort_headers").html("<%= j render 'sort_headers' %>");
$("#tbody_surveys").html("<%= j render :partial => 'survey', :collection => @surveys %>");
$("#survey_pagination").html("<%= j paginate @surveys %>");