caboose-cms 0.4.58 → 0.4.59
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/caboose/blocks_controller.rb +1 -1
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmNhY2I4YjdjYzk4Nzg3MGM4MWVjMTM3YzFmMjE2Nzc2MThkNWI0Yg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjZkOWVlNjAwZTgyY2I4YTUxODBhNjgwMjkxMzQ2NGY0NzQ3MjU0YQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTEzYzUwODYxZWMyZmM0MDY0YzIwY2Y0MmMxYTgwZDUwODlkMzNjNjdlZDQx
|
10
|
+
MzUzNDA3MWNiYTQ0ZDQ5ZTljMWRmNDRlMDk0NGIxNzRkMTdlNGZlN2Y1OTM1
|
11
|
+
YTk0ZWNiZWI4YjRjY2ExNjU4NWM3NjVjZjM2OWUyOTY3NTFlYTM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTAyZDA4ZGI4MWRmMThiMTIzZjRmYzc0ZmZkNjk0ODdhNmU3M2YzZWUzMTY5
|
14
|
+
ODQxZTJmNDVhMzRmOTU0NzJlZTQ1YWI4NGI3YmJkM2YwY2Q1NjNjMTM4Njhk
|
15
|
+
YzQ1YWEzMjcxZjM4Njg4MjhlZDhkOTY3NmQ5NWU3ZGRkM2FjNDE=
|
@@ -228,7 +228,7 @@ module Caboose
|
|
228
228
|
when 'sort_order' then b.sort_order = v
|
229
229
|
when 'name' then b.name = v
|
230
230
|
when 'value' then
|
231
|
-
if b.block_type.field_type == 'richtext'
|
231
|
+
if b.block_type.field_type == 'richtext' && (b.name.nil? || b.name.strip.length == 0)
|
232
232
|
b = RichTextBlockParser.parse(b, v, request.host_with_port)
|
233
233
|
else
|
234
234
|
b.value = v
|
data/lib/caboose/version.rb
CHANGED