polyblock 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/polyblock/capybara_helpers.rb +1 -1
- data/lib/polyblock/version.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: 1ea93f95db119761476709c06e9b1254c2d2c6f7
|
4
|
+
data.tar.gz: ce5225f261ae7f12f394dfd9aafe9d2539c17028
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9e8f519b939293a471e2c48c2a0d7eac231fae07ddf68dfc07bfbab78003c6cb2a2a55db80069f26e9a677d6eef349962fcf8436e08be0e71b8cf6afa9dcbe7
|
7
|
+
data.tar.gz: 17e56270d98890e6e5999046b2cf873fa24becf3d393baec39b09dbd992e3f101ad387bbeccb24f7a12d20d2287a94166ebe14f99e895b1ea21ca2c493119330
|
@@ -14,7 +14,7 @@ module Polyblock
|
|
14
14
|
# Fill the editor content
|
15
15
|
page.execute_script <<-SCRIPT
|
16
16
|
var ckeditor = CKEDITOR.instances['#{locator}'];
|
17
|
-
ckeditor.setData('#{params[:with]}');
|
17
|
+
ckeditor.setData('#{params[:with].gsub("'", "\\'")}');
|
18
18
|
ckeditor.focus();
|
19
19
|
setTimeout(function(){
|
20
20
|
ckeditor.updateElement();
|
data/lib/polyblock/version.rb
CHANGED