Sha256: 8a594c4d1a6bea85045ed45ca0434226420968861af85c7f3436561980ea8993

Contents?: true

Size: 601 Bytes

Versions: 18

Compression:

Stored size: 601 Bytes

Contents

<% if @page_element %>
  $('#question_modal').dialog('close');
  $('#page-preview').html('<%= escape_javascript(render("fe/admin/question_pages/question_page")) %>');
  $('#element_<%= dom_id(@element) %>').hide();
  $('#element_form_<%= dom_id(@element) %>').html('<%= escape_javascript(render("fe/admin/panels/prop_element", element: @element)) %>');
  $('#element_form_<%= dom_id(@element) %>').show();
  selectElement("#element_<%= @element.id %>");
  scrollTo("#element_<%= @element.id %>");
  setUpSortables();
<% else %>
  alert('That question already exists on this question sheet')
<% end %>

Version data entries

18 entries across 13 versions & 1 rubygems

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