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