pulitzer 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a7a0249626abc0fa1f34c4719f55638f72c2a37
4
- data.tar.gz: f53604f97d33e6730b84f6e1a053abeebccaf4de
3
+ metadata.gz: c74d8c90df202b0b5fd6d8752e06c517effa9516
4
+ data.tar.gz: fcdea1d1a61e41ea5e873a8d5f393f5d803cc877
5
5
  SHA512:
6
- metadata.gz: 62a715d6a3637864c3ff57a730fecf9122eb5ac28d4369eb784e51895fd8b724fab942a47e09ac3b7d34ad8389a317d93bb6fc0ec383efad748c4e383780316e
7
- data.tar.gz: e2e640586f80852897349202c361e4580921b37c2e8467ffbcd831dbaf86fe1a37cbadade2c3d4104440d4ed6438cf1be57a206dc4897f04767e78283790a291
6
+ metadata.gz: 77e818bcfd400d8914e38a4c3235f89994c9845b3fa800f65aabcb877f446b28117ed5b818f7de35c355fbf4db3e178d45b3e7fcbca27b17c7863c3f667f63b4
7
+ data.tar.gz: bec1fae611488b140f9a5a77338842ad96fae816fd5a9a347db3fdc1ca1b5ee0708230ed50e0d8e875a285e47711fd5f455e81e9248f92a37640171a36bd273f
@@ -56,11 +56,13 @@ var ContentElementEditor = Class.extend({
56
56
  })
57
57
 
58
58
  $(document).ajaxComplete(function(){
59
- $.each(window.any_time_manager.recordedObjects["RichTextEditor"], function(){
60
- if(this.$form.parents('body').length == 0){ //the form has been removed from the dom
61
- this.editor.fire('destroy:composer')
62
- }
63
- })
59
+ if(window.any_time_manager.recordedObjects["RichTextEditor"]){
60
+ $.each(window.any_time_manager.recordedObjects["RichTextEditor"], function(){
61
+ if(this.$form.parents('body').length == 0){ //the form has been removed from the dom
62
+ this.editor.fire('destroy:composer')
63
+ }
64
+ })
65
+ }
64
66
  })
65
67
 
66
68
  $(document).ready(function(){
@@ -8,7 +8,7 @@ module Pulitzer
8
8
 
9
9
  attr_accessor :processed_element_count
10
10
 
11
- delegate :allow_free_form?, :title, to: :post
11
+ delegate :allow_free_form?, :title, :slug, to: :post
12
12
 
13
13
  validates :post_id, :status, presence: true
14
14
 
@@ -1,3 +1,3 @@
1
1
  module Pulitzer
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-25 00:00:00.000000000 Z
12
+ date: 2016-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails