orbit-survey/app/views/panel/survey/back_end/surveys/index.js.erb

4 lines
432 B
Plaintext

$("#delete_all").attr("action", "<%= delete_panel_survey_back_end_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 %>");