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

2 lines
139 B
Plaintext

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