2015-01-16 10:43:05 +08:00
|
|
|
$("#poll_questions_<%= @poll_question.id%>").html("<div id='show_poll_questions_<%= @poll_question.id %>'>" +
|
|
|
|
"<%= escape_javascript(render :partial => 'show_MC', :locals => {:poll_question => @poll_question}) %>" +
|
|
|
|
"</div>" +
|
|
|
|
"<div id='edit_poll_questions_<%= @poll_question.id %>' style='display: none;'>" +
|
|
|
|
"<%= escape_javascript(render :partial => 'edit_MC', :locals => {:poll_question => @poll_question}) %>" +
|
|
|
|
"</div>");
|