Sha256: 0c71c997bada690d426f659ee42a63681a7bb24a7a4bcafb2ac7a853de898208

Contents?: true

Size: 731 Bytes

Versions: 4

Compression:

Stored size: 731 Bytes

Contents

<%- list_page = list_page_select -%>

<div id="cb_item_<%= list_page.id %>" class="cb_item<%= ' cb_item_offline' unless list_page.published_version >= 0 %>">
  <%= image_tag 'management/icon_page.gif' %></td>
  <span><%= list_page.name %></span>
</div>

<script type="text/javascript">
  jQuery('#cb_item_<%= list_page.id %>').on('click', () => {
    jQuery('#page_browser_selection').val('/<%= list_page.path %>');
    setTimeout(() => {
      cbSelectItem('#cb_item_<%= list_page.id %>', <%= @page_level %>, '<%=raw url_for action: 'list_pages_select', level: @page_level + 1, parent_id: list_page.id %>');
    }, 200);
  });
  jQuery('#cb_item_<%= list_page.id %>').on('dblclick', (event) => {
    return false;
  });
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
imagine_cms-5.2.6 app/views/manage/cms_pages/_list_page_select.html.erb
imagine_cms-5.2.5 app/views/manage/cms_pages/_list_page_select.html.erb
imagine_cms-5.2.4 app/views/manage/cms_pages/_list_page_select.html.erb
imagine_cms-5.2.3 app/views/manage/cms_pages/_list_page_select.html.erb