el_vfs_client 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,10 +33,16 @@
33
33
  },
34
34
  getFileCallback : function(file) {
35
35
  var info_path = $('#info_path', window.parent.document);
36
+ var elfinder_picture_dialog = $('#elfinder_picture_dialog', window.parent.document);
36
37
 
37
38
  if (info_path.length != 0){
38
39
  info_path.val(file.hash);
39
40
  parent.$('#info_path').trigger('change');
41
+ }else if (elfinder_picture_dialog.length !=0){
42
+ var input = $('#'+elfinder_picture_dialog.attr('id_data'), window.parent.document);
43
+ input.val(file.url);
44
+ parent.$(input).trigger('change');
45
+ window.parent.$(elfinder_picture_dialog).dialog('close');
40
46
  }else{
41
47
  window.opener.CKEDITOR.tools.callFunction(funcNum, file.url);
42
48
  window.close();
@@ -1,3 +1,3 @@
1
1
  module ElVfsClient
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.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.2.0
4
+ version: 0.2.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: 2011-12-16 00:00:00.000000000 Z
15
+ date: 2011-12-19 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: configliere
19
- requirement: &16661140 !ruby/object:Gem::Requirement
19
+ requirement: &15445980 !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: *16661140
27
+ version_requirements: *15445980
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: curb
30
- requirement: &16660620 !ruby/object:Gem::Requirement
30
+ requirement: &15450300 !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: *16660620
38
+ version_requirements: *15450300
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rails
41
- requirement: &16659920 !ruby/object:Gem::Requirement
41
+ requirement: &12790420 !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: *16659920
49
+ version_requirements: *12790420
50
50
  description: Description of ElVfsClient.
51
51
  email:
52
52
  - mail@openteam.ru
@@ -54,45 +54,45 @@ executables: []
54
54
  extensions: []
55
55
  extra_rdoc_files: []
56
56
  files:
57
- - app/assets/images/el_vfs/ui/ui-bg_highlight-soft_75_cccccc_1x100.png
58
- - app/assets/images/el_vfs/ui/ui-bg_flat_0_aaaaaa_40x100.png
59
- - app/assets/images/el_vfs/ui/ui-icons_cd0a0a_256x240.png
60
- - app/assets/images/el_vfs/ui/ui-bg_glass_95_fef1ec_1x400.png
61
- - app/assets/images/el_vfs/ui/ui-icons_454545_256x240.png
62
- - app/assets/images/el_vfs/ui/ui-bg_glass_75_dadada_1x400.png
63
- - app/assets/images/el_vfs/ui/ui-bg_glass_65_ffffff_1x400.png
64
- - app/assets/images/el_vfs/ui/ui-icons_222222_256x240.png
57
+ - app/views/el_finder/layout.html.erb
58
+ - app/assets/javascripts/el_vfs/i18n/elfinder.ar.js
59
+ - app/assets/javascripts/el_vfs/i18n/elfinder.ru.js
60
+ - app/assets/javascripts/el_vfs/i18n/elfinder.LANG.js
61
+ - app/assets/javascripts/el_vfs/elfinder.js
62
+ - app/assets/stylesheets/el_vfs/elfinder.sass
63
+ - app/assets/stylesheets/el_vfs/reset.sass
64
+ - app/assets/stylesheets/el_vfs/jquery_ui.sass
65
+ - app/assets/stylesheets/el_vfs/el_vfs.sass
66
+ - app/assets/stylesheets/el_vfs/theme.sass
65
67
  - app/assets/images/el_vfs/ui/ui-icons_888888_256x240.png
66
- - app/assets/images/el_vfs/ui/ui-icons_2e83ff_256x240.png
67
- - app/assets/images/el_vfs/ui/ui-bg_flat_75_ffffff_40x100.png
68
68
  - app/assets/images/el_vfs/ui/ui-bg_glass_55_fbf9ee_1x400.png
69
+ - app/assets/images/el_vfs/ui/ui-icons_cd0a0a_256x240.png
70
+ - app/assets/images/el_vfs/ui/ui-bg_glass_75_dadada_1x400.png
69
71
  - app/assets/images/el_vfs/ui/ui-bg_glass_75_e6e6e6_1x400.png
70
- - app/assets/images/el_vfs/elfinder/spinner-mini.gif
71
- - app/assets/images/el_vfs/elfinder/arrows-normal.png
72
- - app/assets/images/el_vfs/elfinder/toolbar.png
72
+ - app/assets/images/el_vfs/ui/ui-bg_flat_0_aaaaaa_40x100.png
73
+ - app/assets/images/el_vfs/ui/ui-bg_flat_75_ffffff_40x100.png
74
+ - app/assets/images/el_vfs/ui/ui-icons_2e83ff_256x240.png
75
+ - app/assets/images/el_vfs/ui/ui-bg_highlight-soft_75_cccccc_1x100.png
76
+ - app/assets/images/el_vfs/ui/ui-icons_454545_256x240.png
77
+ - app/assets/images/el_vfs/ui/ui-icons_222222_256x240.png
78
+ - app/assets/images/el_vfs/ui/ui-bg_glass_95_fef1ec_1x400.png
79
+ - app/assets/images/el_vfs/ui/ui-bg_glass_65_ffffff_1x400.png
73
80
  - app/assets/images/el_vfs/elfinder/logo.png
74
81
  - app/assets/images/el_vfs/elfinder/quicklook-icons.png
75
- - app/assets/images/el_vfs/elfinder/icons-small.png
82
+ - app/assets/images/el_vfs/elfinder/toolbar.png
83
+ - app/assets/images/el_vfs/elfinder/arrows-normal.png
84
+ - app/assets/images/el_vfs/elfinder/spinner-mini.gif
85
+ - app/assets/images/el_vfs/elfinder/quicklook-bg.png
76
86
  - app/assets/images/el_vfs/elfinder/icons-big.png
87
+ - app/assets/images/el_vfs/elfinder/dialogs.png
77
88
  - app/assets/images/el_vfs/elfinder/progress.gif
89
+ - app/assets/images/el_vfs/elfinder/icons-small.png
78
90
  - app/assets/images/el_vfs/elfinder/arrows-active.png
79
- - app/assets/images/el_vfs/elfinder/quicklook-bg.png
80
91
  - app/assets/images/el_vfs/elfinder/resize.png
81
- - app/assets/images/el_vfs/elfinder/dialogs.png
82
- - app/assets/stylesheets/el_vfs/theme.sass
83
- - app/assets/stylesheets/el_vfs/reset.sass
84
- - app/assets/stylesheets/el_vfs/el_vfs.sass
85
- - app/assets/stylesheets/el_vfs/jquery_ui.sass
86
- - app/assets/stylesheets/el_vfs/elfinder.sass
87
- - app/assets/javascripts/el_vfs/elfinder.js
88
- - app/assets/javascripts/el_vfs/i18n/elfinder.ru.js
89
- - app/assets/javascripts/el_vfs/i18n/elfinder.LANG.js
90
- - app/assets/javascripts/el_vfs/i18n/elfinder.ar.js
91
92
  - app/controllers/el_vfs_client/el_finder_controller.rb
92
- - app/views/el_finder/layout.html.erb
93
93
  - config/routes.rb
94
- - lib/el_vfs_client/engine.rb
95
94
  - lib/el_vfs_client/version.rb
95
+ - lib/el_vfs_client/engine.rb
96
96
  - lib/tasks/el_vfs_client_tasks.rake
97
97
  - lib/el_vfs_client.rb
98
98
  - MIT-LICENSE
@@ -110,15 +110,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
110
  - - ! '>='
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
+ segments:
114
+ - 0
115
+ hash: 1801761574565041218
113
116
  required_rubygems_version: !ruby/object:Gem::Requirement
114
117
  none: false
115
118
  requirements:
116
119
  - - ! '>='
117
120
  - !ruby/object:Gem::Version
118
121
  version: '0'
122
+ segments:
123
+ - 0
124
+ hash: 1801761574565041218
119
125
  requirements: []
120
126
  rubyforge_project:
121
- rubygems_version: 1.8.11
127
+ rubygems_version: 1.8.10
122
128
  signing_key:
123
129
  specification_version: 3
124
130
  summary: Summary of ElVfsClient.