aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/refinery/blog/backend.js2
-rw-r--r--app/views/refinery/blog/admin/posts/_form.html.erb6
2 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/javascripts/refinery/blog/backend.js b/app/assets/javascripts/refinery/blog/backend.js
index f27f837..ee9313a 100644
--- a/app/assets/javascripts/refinery/blog/backend.js
+++ b/app/assets/javascripts/refinery/blog/backend.js
@@ -1,6 +1,8 @@
//= require jquery-ui/autocomplete
$(document).ready(function(){
+ $('#more_options').hide()
+
$('nav#actions.multilist > ul:not(.search_list) li a[href$="' + window.location.pathname + '"]')
.parent().addClass('selected');
if($('nav#actions.multilist > ul:not(.search_list) li.selected').length == 0) {
diff --git a/app/views/refinery/blog/admin/posts/_form.html.erb b/app/views/refinery/blog/admin/posts/_form.html.erb
index 5cb061e..26b9f78 100644
--- a/app/views/refinery/blog/admin/posts/_form.html.erb
+++ b/app/views/refinery/blog/admin/posts/_form.html.erb
@@ -40,14 +40,14 @@
</div>
</div>
- <%= render '/refinery/admin/form_advanced_options_menu', :f => f %>
-
<div class='field'>
<%= f.label :tag_list, t('refinery.blog.shared.tags.title') -%>
<%= f.text_field :tag_list, value: @post.tag_list.to_s, :class => 'larger' -%>
</div>
- <div id='more_options' style="display:none;">
+ <%= render '/refinery/admin/form_advanced_options_menu', :f => f %>
+
+ <div id='more_options'>
<div class="hemisquare">
<h3><%= t('title', :scope => 'refinery.blog.admin.submenu.categories') %></h3>
<ul class='blog_categories'>