comfortable_mexican_sofa 1.6.17 → 1.6.18
Sign up to get free protection for your applications and to get access to all the features.
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.18
|
@@ -91,7 +91,7 @@ $.CMS = function(){
|
|
91
91
|
elRTE.prototype.options.panels.sofa_style = ['bold', 'italic', 'underline'];
|
92
92
|
elRTE.prototype.options.panels.sofa_alignment = ['justifyleft', 'justifycenter', 'justifyright'];
|
93
93
|
elRTE.prototype.options.panels.sofa_format = ['formatblock'];
|
94
|
-
elRTE.prototype.options.panels.sofa_copypaste = ['
|
94
|
+
elRTE.prototype.options.panels.sofa_copypaste = ['pastetext'];
|
95
95
|
elRTE.prototype.options.panels.sofa_links = ['sofa_link', 'unlink'];
|
96
96
|
|
97
97
|
elRTE.prototype.options.toolbars.sofa = $.CMS.config.elRTE.toolbar;
|
@@ -16,8 +16,14 @@
|
|
16
16
|
|
17
17
|
// attaching event handlers to images
|
18
18
|
$(document).on('click', '#cms_dialog .uploaded_files .file_info', function(){
|
19
|
-
|
20
|
-
|
19
|
+
console.log($(this))
|
20
|
+
console.log($(this).parents('#cms_dialog'))
|
21
|
+
ui_control = $(this).parents('#cms_dialog').data('ui_control')
|
22
|
+
if (ui_control) {
|
23
|
+
ui_control.img_src = $(this).data('url');
|
24
|
+
ui_control.set();
|
25
|
+
$(this).parents('#cms_dialog').data('ui_control', null)
|
26
|
+
}
|
21
27
|
return false;
|
22
28
|
});
|
23
29
|
|
@@ -46,6 +52,8 @@
|
|
46
52
|
success: function(data){
|
47
53
|
self.dialog.html(data);
|
48
54
|
self.dialog.dialog('open');
|
55
|
+
console.log($(self.dialog))
|
56
|
+
$(self.dialog).data('ui_control', self)
|
49
57
|
$.CMS.enable_uploader();
|
50
58
|
}
|
51
59
|
})
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "comfortable_mexican_sofa"
|
8
|
-
s.version = "1.6.
|
8
|
+
s.version = "1.6.18"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Oleg Khabarov", "The Working Group Inc"]
|
12
|
-
s.date = "2012-03-
|
12
|
+
s.date = "2012-03-27"
|
13
13
|
s.description = ""
|
14
14
|
s.email = "oleg@theworkinggroup.ca"
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comfortable_mexican_sofa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.18
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-03-
|
13
|
+
date: 2012-03-27 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
|
-
requirement: &
|
17
|
+
requirement: &70136202167420 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 3.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70136202167420
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: active_link_to
|
28
|
-
requirement: &
|
28
|
+
requirement: &70136202165640 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 1.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70136202165640
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: paperclip
|
39
|
-
requirement: &
|
39
|
+
requirement: &70136202164120 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
version: 2.3.0
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *70136202164120
|
48
48
|
description: ''
|
49
49
|
email: oleg@theworkinggroup.ca
|
50
50
|
executables: []
|
@@ -369,7 +369,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
369
369
|
version: '0'
|
370
370
|
segments:
|
371
371
|
- 0
|
372
|
-
hash:
|
372
|
+
hash: 4174227568118290577
|
373
373
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
374
374
|
none: false
|
375
375
|
requirements:
|