Sha256: e23b90c006b3ca531ad6bedc354b40504208482030f06622933b16d25cd66368
Contents?: true
Size: 851 Bytes
Versions: 4
Compression:
Stored size: 851 Bytes
Contents
<%= javascript_include_tag :infopark_editing %> <%= javascript_tag do %> $(function() { infopark.i18n.set_locale("<%= I18n.locale %>"); infopark.editing.set_workspace( infopark.workspace.from_data({ id: "<%= escape_javascript(RailsConnector::Workspace.current.id).html_safe %>", title: "<%= escape_javascript(RailsConnector::Workspace.current.title).html_safe %>" }) ); infopark.obj.current_page_id = "<%= @obj.try(:id) %>"; infopark.obj.current_page_obj_class_name = "<%= @obj.try(:obj_class) %>"; infopark.obj.current_page_has_edit_view = <%= current_page_has_edit_view? %>; infopark.obj.current_page_has_children = <%= current_page_has_children? %>; infopark.admin_gui_base_url = "<%= RailsConnector::CmsRestApi.configuration.url %>"; infopark.editing.initialize(); }); <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems