spud_blog 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,9 @@ Spud.Admin.Posts = new function(){
9
9
 
10
10
  this.edit = function(){
11
11
  initDatePicker();
12
- spud.admin.editor.init();
12
+
13
+
14
+ spud.admin.editor.initWithOptions({selector:'textarea.tinymce-blog'});
13
15
  $('.spud_post_add_category').live('click', self.clickedPostAddCategory);
14
16
  $('.save_post_category_button').live('click', self.submittedPostCategoryForm);
15
17
  $('.spud_post_category_form').live('submit', self.submittedPostCategoryForm);
@@ -6,19 +6,19 @@
6
6
  </fieldset>
7
7
 
8
8
  <div>
9
- <%= f.text_area :content,:style => "width:100%;", :class => 'tinymce full-width' %>
9
+ <%= f.text_area :content,:style => "width:100%;", :class => 'tinymce-blog full-width' %>
10
10
  </div>
11
11
 
12
12
  <% if Spud::Blog.config.has_custom_fields %>
13
13
  <fieldset>
14
- <legend>Custom Fields</legend>
14
+ <legend>Custom Fields</legend>
15
15
  <%= render :partial => '/spud/admin/posts/custom_fields', :locals => {:f => f} %>
16
16
  </fieldset>
17
17
  <% end %>
18
18
 
19
19
  <fieldset class="spud_post_form_fieldset">
20
20
  <legend>Advanced</legend>
21
-
21
+
22
22
  <div class="spud_post_form_col">
23
23
  <h4>Meta Data</h4>
24
24
 
@@ -26,7 +26,7 @@
26
26
  <%= f.label :published_at, 'Publish Date' %>
27
27
  <%= f.text_field :published_at,:value => f.object.published_at.strftime("%Y-%m-%d %H:%M") , :class => 'spud_form_date_picker' %>
28
28
  </div>
29
-
29
+
30
30
  <% if @current_user.super_admin %>
31
31
  <div class="spud_post_form_row">
32
32
  <%= f.label :spud_user_id, 'Author' %>
@@ -103,4 +103,4 @@
103
103
 
104
104
  <script type="text/javascript">
105
105
  $(document).ready(Spud.Admin.Posts.edit);
106
- </script>
106
+ </script>
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Blog
3
- VERSION = "0.9.1"
3
+ VERSION = "0.9.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spud_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -321,7 +321,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
321
321
  version: '0'
322
322
  segments:
323
323
  - 0
324
- hash: 163033043628535541
324
+ hash: -1631763759207147432
325
325
  required_rubygems_version: !ruby/object:Gem::Requirement
326
326
  none: false
327
327
  requirements:
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
330
330
  version: '0'
331
331
  segments:
332
332
  - 0
333
- hash: 163033043628535541
333
+ hash: -1631763759207147432
334
334
  requirements: []
335
335
  rubyforge_project:
336
336
  rubygems_version: 1.8.24