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

2 lines
139 B
Plaintext
Raw Normal View History

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