el_vfs_client 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,14 +35,14 @@
35
35
  var info_path = $('#info_path', window.parent.document);
36
36
  var elfinder_picture_dialog = $('#elfinder_picture_dialog', window.parent.document);
37
37
 
38
- if (info_path.length != 0){
39
- info_path.val(file.hash);
40
- parent.$('#info_path').trigger('change');
41
- }else if (elfinder_picture_dialog.length !=0){
38
+ if (elfinder_picture_dialog.length !=0){
42
39
  var input = $('#'+elfinder_picture_dialog.attr('id_data'), window.parent.document);
43
40
  input.val(file.url);
44
41
  parent.$(input).trigger('change');
45
42
  window.parent.$(elfinder_picture_dialog).dialog('close');
43
+ }else if (info_path.length != 0){
44
+ info_path.val(file.hash);
45
+ parent.$('#info_path').trigger('change');
46
46
  }else{
47
47
  window.opener.CKEDITOR.tools.callFunction(funcNum, file.url);
48
48
  window.close();
@@ -1,3 +1,3 @@
1
1
  module ElVfsClient
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: el_vfs_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,11 +12,11 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-02-14 00:00:00.000000000 Z
15
+ date: 2012-02-28 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: configliere
19
- requirement: &17151760 !ruby/object:Gem::Requirement
19
+ requirement: &11438360 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ! '>='
@@ -24,10 +24,10 @@ dependencies:
24
24
  version: '0'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *17151760
27
+ version_requirements: *11438360
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: curb
30
- requirement: &17150620 !ruby/object:Gem::Requirement
30
+ requirement: &11437700 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
33
  - - ! '>='
@@ -35,10 +35,10 @@ dependencies:
35
35
  version: '0'
36
36
  type: :runtime
37
37
  prerelease: false
38
- version_requirements: *17150620
38
+ version_requirements: *11437700
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rails
41
- requirement: &17149820 !ruby/object:Gem::Requirement
41
+ requirement: &11437220 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - ! '>='
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: '0'
47
47
  type: :runtime
48
48
  prerelease: false
49
- version_requirements: *17149820
49
+ version_requirements: *11437220
50
50
  description: Description of ElVfsClient.
51
51
  email:
52
52
  - mail@openteam.ru
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 1.8.10
122
+ rubygems_version: 1.8.16
123
123
  signing_key:
124
124
  specification_version: 3
125
125
  summary: Summary of ElVfsClient.