effective_assets 1.6.3 → 1.6.4

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: 47cf237da48597a134011c3256f2631b731b2d6b
4
- data.tar.gz: b4a479a03cff5dfda60b5a5566f3674bbd494361
3
+ metadata.gz: 9a315814262f960f07f864572967eb5acd50a717
4
+ data.tar.gz: 7b9130f033ce7b4e7194fc5bd7b6bd5d28303434
5
5
  SHA512:
6
- metadata.gz: 95bcb6b27a4e4623f05d0b4d40a6bc676ca6a5067da6bef4a24ea5b686b84db5b4a10fc93bb2e19c8aab08d7d90ab1bfca8a609e3b120dd8a8497d8ec9a8a364
7
- data.tar.gz: ab67f6beab1aa7a87d375f66ace82566dd6e0dca4004e143e0ba27c1060bbf43861b2770aa9d1756ef380ea73302656ebf6efaff7f1e5be0e2c7f79c818bc769
6
+ metadata.gz: df429cca76d87a22847716955fce71d9de2bf583860426392c86930e178bce6ee7f69d936bc664d058f933546b4dfb4837a596054c164eb023913a483c77745e
7
+ data.tar.gz: a3325b29086b6bb97f2909529729778a12f8a94ce17dc268068a5e9312c3d4e1505e348d6478a68434c3f78c351fa2830ea90e85b218c9914b0b5603f91a2b6f
@@ -288,10 +288,18 @@ $.fn.S3Uploader = (options) ->
288
288
  #public methods
289
289
  @initialize = ->
290
290
  # Save key for IE9 Fix
291
- $uploadForm.data("key", $uploadForm.find("input[name='key']").val())
292
- $uploadForm.data("fileCount", 0)
293
- $(document).on 'drop', '.asset-box-uploader', resetOverLimitAlert
294
- $(document).on 'click', '.asset-box-uploader .asset-box-uploader-fileinput', resetOverLimitAlert
291
+ $uploadForm.data('key', $uploadForm.find("input[name='key']").val())
292
+ $uploadForm.data('fileCount', 0)
293
+
294
+ $(document).on 'drop', '#' + $uploadForm.attr('id'), (event) ->
295
+ resetOverLimitAlert(event)
296
+ event.stopPropagation()
297
+ true
298
+
299
+ $(document).on 'click', "##{$uploadForm.attr('id')} .asset-box-uploader-fileinput", (event) ->
300
+ resetOverLimitAlert(event)
301
+ event.stopPropagation()
302
+
295
303
  setUploadForm()
296
304
  this
297
305
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveAssets
2
- VERSION = '1.6.3'.freeze
2
+ VERSION = '1.6.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.3
4
+ version: 1.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-01 00:00:00.000000000 Z
11
+ date: 2016-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails