polyblock 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/polyblock/version.rb +1 -1
- data/lib/polyblock/view_helpers.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2f1beefa1065720b3875460e7991adb6e3f44d8
|
4
|
+
data.tar.gz: 58b22a123fa170140d9b12dccf1b141b81c2b54d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b065106b713622cf0962f87ce9c679b81c865e0c012f11108632a834061d591f69952c6bae48f19cf97c2ffbaa2aa84220a828f27a84b340ae2fc503991cf9ef
|
7
|
+
data.tar.gz: b85689c10dbfc6b7ad3c34061fc3c0b0e21b4ea252d9a023e7efe8239e547d8ed2702b9e608f86f250690610b27c2fc93982364c7ee7f57b0e99642f52a8fa02
|
data/lib/polyblock/version.rb
CHANGED
@@ -19,7 +19,7 @@ module Polyblock
|
|
19
19
|
|
20
20
|
# Build output tag
|
21
21
|
content = pb.content.present? ? pb.content : pb.settings[:default_text]
|
22
|
-
tag_options = options[:tag_options].
|
22
|
+
tag_options = options[:tag_options].deep_merge({:id => "pb-#{pb_id}-#{random_id}", :data => {:pbid => pb_id, :pbname => name}})
|
23
23
|
tag_options[:contenteditable] = if options[:condensed]
|
24
24
|
'false'
|
25
25
|
elsif options.has_key?(:editable)
|