Sha256: e5c5ac1f1c108c3be41556707692c315d29c4c005841d4d62f6bc74563784eaa
Contents?: true
Size: 922 Bytes
Versions: 1
Compression:
Stored size: 922 Bytes
Contents
<%= javascript_include_tag :infopark_editing %> <%= javascript_tag do %> $(function() { infopark.i18n.set_locale("<%= I18n.locale %>"); infopark.gui.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.obj.current_page_modification = "<%= @obj.try(:modification) %>"; infopark.admin_gui_base_url = "<%= RailsConnector::CmsRestApi.configuration.url %>"; infopark.gui.initialize(); }); <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
infopark_cloud_connector-7.1.0 | app/views/rails_connector/_editing_javascript.html.erb |