aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog/posts/_form.html.erb
diff options
context:
space:
mode:
authorKyle Wilkinson <kai@wikyd.org>2011-06-21 03:13:28 -0700
committerKyle Wilkinson <kai@wikyd.org>2011-06-21 03:13:28 -0700
commite23af6bca75532ed7377462f10efa4ca9c002acc (patch)
tree3bf9db2623dc0307e15f7cb387c05d8de7aabf33 /app/views/admin/blog/posts/_form.html.erb
parent6086e618c34aee1db1c43866539b6a3b1ccdc40f (diff)
downloadrefinerycms-blog-e23af6bca75532ed7377462f10efa4ca9c002acc.tar.gz
refinerycms-blog-e23af6bca75532ed7377462f10efa4ca9c002acc.tar.bz2
refinerycms-blog-e23af6bca75532ed7377462f10efa4ca9c002acc.zip
Call tabs() method on admin tabs section only after the document is ready. This fixes the problem where the teaser editor was showing with a width of 0. Set the active tab to the initial tab on the blog post editor.
Diffstat (limited to 'app/views/admin/blog/posts/_form.html.erb')
-rw-r--r--app/views/admin/blog/posts/_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/blog/posts/_form.html.erb b/app/views/admin/blog/posts/_form.html.erb
index 4eb4cf4..20a8fe1 100644
--- a/app/views/admin/blog/posts/_form.html.erb
+++ b/app/views/admin/blog/posts/_form.html.erb
@@ -13,7 +13,7 @@
<div class='field'>
<div id='page-tabs' class='clearfix ui-tabs ui-widget ui-widget-content ui-corner-all'>
<ul id='page_parts'>
- <li class='ui-state-default'>
+ <li class='ui-state-default ui-state-active'>
<%= link_to "Body", "#page_part_body" %>
</li>
<li class='ui-state-default'>