scrivito_editors 1.4.0.rc1 → 1.4.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c20b548f95ef5b6cc55ae5d0f84bc1630983ff1
4
- data.tar.gz: 0f80d14e64a84c337fd5c24e44ac47ec53032e5a
3
+ metadata.gz: 5972440dd26297baca5e084f6c7d9e2f496b5c79
4
+ data.tar.gz: 07221f2099882cef80cec54bf31fd057e114bb97
5
5
  SHA512:
6
- metadata.gz: 6e8058e3038e79dc4fcb5f2a439d1efac42e490707b8724aa29b1fab597cba69721ef5afcb737ea92ca2ecfc545b02e3cb2dc3b73e7d5a8b0f14ca1323f71c12
7
- data.tar.gz: 994a4ef961e50e17b0c7e39fa45a52286ac4e0d3c999bf38ed8e8ffb65b2e40991f5f5e58e1f74c3132ea1a81f20d7713322dc01398a621dd1d7a92fb3238cd4
6
+ metadata.gz: 72c9e550cc06fdb6f33f31177881bdfda0dd70cc70a524392e125948ce91c5bf39191b899ae3abd3e4ff535528d23e9475b963bc762b4598ef10cccecab52f9f
7
+ data.tar.gz: fc65319ceb0f12f5d3683bc4a16b758846fed9991822b3c1b6bf4a520b87e4518971c77238f10bfd9d6e9022d2077586b95940e15a45a87e3c944fcc9b44bd73
@@ -22,16 +22,16 @@
22
22
  });
23
23
  return el.on('drop', function(e) {
24
24
  var files, ref, ref1;
25
+ e.preventDefault();
25
26
  el.removeClass('image-editor-dragover');
26
27
  if (((ref = (files = (ref1 = e.originalEvent.dataTransfer) != null ? ref1.files : void 0)) != null ? ref.length : void 0) === 1) {
27
28
  el.addClass('scrivito_element_overlay');
28
- callback(el, files[0]);
29
+ return callback(el, files[0]);
29
30
  } else {
30
- el.children().not('img').css({
31
+ return el.children().not('img').css({
31
32
  pointerEvents: 'auto'
32
33
  });
33
34
  }
34
- return false;
35
35
  });
36
36
  };
37
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrivito_editors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0.rc1
4
+ version: 1.4.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scrivito
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-10 00:00:00.000000000 Z
11
+ date: 2016-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jquery-ui-rails
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.4.0.rc1
47
+ version: 1.4.0.rc2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 1.4.0.rc1
54
+ version: 1.4.0.rc2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: scrivito_sdk
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.4.0.rc1
61
+ version: 1.4.0.rc2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.4.0.rc1
68
+ version: 1.4.0.rc2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: coffee-rails
71
71
  requirement: !ruby/object:Gem::Requirement