Sha256: 1559721ac54c7bd70d0a8dcb3e29f207fb52c197eaed139cf1b47f39ff4fe345

Contents?: true

Size: 661 Bytes

Versions: 18

Compression:

Stored size: 661 Bytes

Contents

if ($('#submit_message, .submit_message').length == 0) {
  $("ul#questions_list").filter(":visible").append("<li><div id=\"submit_message\"></div></li>");
}
$('#submit_message, .submit_message').html('<%= escape_javascript(render("incomplete")) %>')
<% @answer_sheet.pages.each do |page| %>
  $page = $('<%= escape_javascript(render("fe/answer_sheets/page_link", page_link: @presenter.new_page_link(@answer_sheet, page))) %>');
  <% id = "##{dom_id(@answer_sheet)}-#{dom_id(page)}-li" %> 
  $('<%= id %>').replaceWith($page.find('<%= id %>'));
<% end %>
$('#submit_message, .submit_message').show();
$('#'+fe.pageHandler.current_page+'-li').addClass('active');

Version data entries

18 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.1.4 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.1.3 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.1.2 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.1.1 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.8 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.6 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.5 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.4 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.4 app/views.current/fe/answer_sheets/incomplete.js.erb
fe-2.0.3 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.3 app/views.current/fe/answer_sheets/incomplete.js.erb
fe-2.0.2 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.2 app/views.current/fe/answer_sheets/incomplete.js.erb
fe-2.0.1 app/views.current/fe/answer_sheets/incomplete.js.erb
fe-2.0.1 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.0 app/views/fe/answer_sheets/incomplete.js.erb
fe-2.0.0 app/views.current/fe/answer_sheets/incomplete.js.erb