This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2012-02-23 07:48:23 +00:00
|
|
|
$('#app_page_url').html("<%= escape_javascript(select 'page', 'app_frontend_url', @module_app.app_pages) %>");
|
2012-08-09 07:25:30 +00:00
|
|
|
$('#app_page_frontend_style').html("<%= escape_javascript(select 'page', 'frontend_style', @module_app.widgets[@frontend_path]) if !@frontend_path.blank? %>");
|
2012-05-13 16:33:52 +00:00
|
|
|
$('#app_page_category').html("<%= j (select 'page', 'category', @categories.collect{|category| [category.i18n_variable[I18n.locale], category.id]}, {:include_blank => true}) if @categories %>");
|
2012-08-09 07:25:30 +00:00
|
|
|
$('#app_page_tag').html("<%= j (select 'page', 'tag', @tags.collect{|tag| [tag[I18n.locale], tag.id]}, {:include_blank => true}) if @tags %>");
|
2012-08-22 10:07:49 +00:00
|
|
|
$('#app_page_frontend_field').html("<%= j render '../admin/pages/frontend_fields' %>")
|