socialforge/app/views/poll/close_poll.js.erb

2 lines
157 B
Plaintext

$("#polls_<%= @poll.id %>").html("<%= escape_javascript(render :partial => 'poll',:locals => {:poll => @poll, :index => @index}) %>");
alert("关闭成功");