camaleon_cms 2.4.1 → 2.4.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of camaleon_cms might be problematic. Click here for more details.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc0c0bfe97ca32699104dd35f9bfd703ec8ff7d4
|
4
|
+
data.tar.gz: 5c23a7dc2ffd16ab5ddb78e4ea00df6277f02111
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3b634f003d4e7b5c099cc5970ff0ea3b14c2707015442b307eb44971a0e66ce10519ea6542127d76d558a2f629d28176ecb83dde8e9cc0fa8fa17f4fae8c56f
|
7
|
+
data.tar.gz: 460cb36ffd415cfc8ccfc75516057398771ae93e2c9550d09c549a8d2cc91ec2de7c4c5438a1dfa3370301c985404fac7e01747978e943bf58c8e23065595165
|
data/README.md
CHANGED
@@ -39,7 +39,7 @@
|
|
39
39
|
* Add the gem in your Gemfile
|
40
40
|
|
41
41
|
```
|
42
|
-
gem "camaleon_cms", '>= 2.4.
|
42
|
+
gem "camaleon_cms", '>= 2.4.2' # Stable versions 2.3.6, 2.2.1, 2.1.1, 2.1.0
|
43
43
|
# gem "camaleon_cms", github: 'owen2345/camaleon-cms' # current development version
|
44
44
|
```
|
45
45
|
* Only Rails 5 support
|
@@ -323,14 +323,14 @@ window["cama_init_media"] = (media_panel) ->
|
|
323
323
|
cropper_data['data']['width'] = parseFloat(dim[0].match(/\d+/)[0])
|
324
324
|
field_width.val(cropper_data['data']['width'])
|
325
325
|
if dim[0].search(/\?/) > -1
|
326
|
-
field_width.attr('
|
326
|
+
field_width.attr('max', cropper_data['data']['width'])
|
327
327
|
else
|
328
328
|
field_width.prop('readonly', true)
|
329
329
|
if dim[1]
|
330
330
|
cropper_data['data']['height'] = parseFloat(dim[1].match(/\d+/)[0])
|
331
331
|
field_height.val(cropper_data['data']['height'])
|
332
332
|
if dim[1].search(/\?/) > -1
|
333
|
-
field_height.attr('
|
333
|
+
field_height.attr('max', cropper_data['data']['height'])
|
334
334
|
else
|
335
335
|
field_height.prop('readonly', true)
|
336
336
|
if dim[0] && dim[0].search(/\?/) == -1 && dim[1] && dim[1].search(/\?/) == -1
|
data/lib/camaleon_cms/version.rb
CHANGED