simple_form_attachments 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce1bd3097d0aa3aa18e79ba677d6f9058050d972
4
- data.tar.gz: 09e01a5273bb2747e5061a74812d6de053da5acc
3
+ metadata.gz: c206f7a0923db913cc9dbeaa4712344d494588a7
4
+ data.tar.gz: 6782f5df30fd743cad7f890f1bc92ffaa5d4a211
5
5
  SHA512:
6
- metadata.gz: 039f6e3c511157ed6dffce2ca266143272224679d41f1198102923da0f1f97393b6027247d1db8ebe81104e99f4d5cdfd04173d58e59413b5cd6dd4347f14c09
7
- data.tar.gz: 55fa16f575026d174766a15512762e3f60b6074a6ef94238a2ae97fabf3da3bfa814b5b8d85f6d79fd5b95a7a452ef57a4f67f288dc430823a76ef6ab6216b57
6
+ metadata.gz: 122e2356fc2dd7b939e9df7cf909fd007efc9173528526b3ec594dd4ebc82bfacca222b8f055b131aac32c3ed559307aa499ce43bacf0662874fba2e907387eb
7
+ data.tar.gz: 3c28b252fc57811df2548056d08fcac5174f75579a92f43e92fe6d7f2fa485be7c9122cebc91a44d41f5b035c01eb84838fd93c63e684bd2563b2e3dee8cdae5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_attachments (0.2.0)
4
+ simple_form_attachments (0.2.1)
5
5
  jquery-ui-rails
6
6
  rails (>= 4.2)
7
7
  rails-assets-blueimp-file-upload (>= 9.6.0)
@@ -41,6 +41,7 @@
41
41
  @attachments_counter = 0
42
42
 
43
43
  init: ->
44
+ @get_file_input().on 'fileuploadalways', (e) => @init_sortable() if @is_sortable()
44
45
  @init_sortable() if @is_sortable()
45
46
  @init_fileupload()
46
47
 
@@ -1,3 +1,3 @@
1
1
  module SimpleFormAttachments
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: simple_form_attachments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Celizna
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-12-19 00:00:00.000000000 Z
12
+ date: 2015-12-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails