tiny_mce_plugin_imageselector 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -492,10 +492,8 @@
492
492
  var resultThumbnail = $(this).find("thumbnail").attr('url');
493
493
 
494
494
  if (!resultThumbnail || 0 === resultThumbnail.length) {
495
- // TODO: currently broken
496
- $(this).find('description').each(function() {
497
- resultThumbnail = $(this).find('img').attr('src');
498
- });
495
+ var description = $(this).find('description').text();
496
+ resultThumbnail = $(description).find('img').attr('src');
499
497
  }
500
498
 
501
499
  var resultTitle = $(this).find('title').text();
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "tiny_mce_plugin_imageselector"
3
- s.version = "0.0.3"
3
+ s.version = "0.0.4"
4
4
  s.authors = ["Walter McGinnis"]
5
5
  s.email = "walter@katipo.co.nz"
6
6
  s.homepage = "http://github.com/kete/tiny_mce_plugin_imageselector"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiny_mce_plugin_imageselector
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Walter McGinnis
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-26 00:00:00 +13:00
18
+ date: 2011-09-28 00:00:00 +13:00
19
19
  default_executable:
20
20
  dependencies: []
21
21