attache_rails 0.2.2 → 0.2.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 932312b847166dad18dae52549e4c073146459dd
|
4
|
+
data.tar.gz: 0fba6572f2b42e787e3bc233bff0c1d3f90e99b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59b6a2f58079769e9672cc78ba92d18201a1bf5afbf88ae7f4b3e5ef8bd987f06a48aa6eb7002701cca70f26f21757d79a2b4d16c6c536b267b503372a1cca9e
|
7
|
+
data.tar.gz: e983776f2a327a6677c9c3f7a13373c0b1647974391274a606814cb2a8d241a7ec283c81199c1e61e8f327aa1813404ffbbeae219a0170b2118ca4a2c8f6096a
|
@@ -26,7 +26,7 @@ var AttacheFileInput = React.createClass({displayName: "AttacheFileInput",
|
|
26
26
|
if (! files || files.length == 0) return;
|
27
27
|
if (! this.props.multiple) {
|
28
28
|
this.state.files = {};
|
29
|
-
files =
|
29
|
+
files = [files[0]]; // array of 1 element
|
30
30
|
}
|
31
31
|
|
32
32
|
this.setState(this.state);
|
@@ -26,7 +26,7 @@ var AttacheFileInput = React.createClass({
|
|
26
26
|
if (! files || files.length == 0) return;
|
27
27
|
if (! this.props.multiple) {
|
28
28
|
this.state.files = {};
|
29
|
-
files =
|
29
|
+
files = [files[0]]; // array of 1 element
|
30
30
|
}
|
31
31
|
|
32
32
|
this.setState(this.state);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attache_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- choonkeat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|