brightcontent-core 2.0.16 → 2.0.17
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/app/assets/javascripts/brightcontent/main.js +2 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -12,13 +12,13 @@ $(document).ready(function(){
|
|
12
12
|
});
|
13
13
|
});
|
14
14
|
|
15
|
-
$(".insert_image").click
|
15
|
+
$(".insert_image").live("click", function(e){
|
16
16
|
e.preventDefault();
|
17
17
|
console.log($(this).data("insertImage"));
|
18
18
|
editor.composer.commands.exec("insertImage", { src: $(this).data("insertImage") });
|
19
19
|
});
|
20
20
|
|
21
|
-
$(".insert_link").click
|
21
|
+
$(".insert_link").live("click", function(e){
|
22
22
|
e.preventDefault();
|
23
23
|
console.log($(this).data());
|
24
24
|
editor.composer.commands.exec("createLink", { href: $(this).data("insertUrl"), target: "_blank", rel: "nofollow", text: $(this).data("insertName") });
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightcontent-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -347,7 +347,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
347
347
|
version: '0'
|
348
348
|
segments:
|
349
349
|
- 0
|
350
|
-
hash:
|
350
|
+
hash: 2067550551794933932
|
351
351
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
352
352
|
none: false
|
353
353
|
requirements:
|
@@ -356,7 +356,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
356
356
|
version: '0'
|
357
357
|
segments:
|
358
358
|
- 0
|
359
|
-
hash:
|
359
|
+
hash: 2067550551794933932
|
360
360
|
requirements: []
|
361
361
|
rubyforge_project:
|
362
362
|
rubygems_version: 1.8.24
|