ezdz-rails 0.5.0 → 0.5.1
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: bf2d9c0ed476f1b92f1db43acf1609682824f339
|
4
|
+
data.tar.gz: 43f37cc53fab468a3664f26ec3a6bdeec973cf43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7c675d1a3efd44a41597063f5f8b176ff62a4ad64b20ed75cb3ec1890f67c1df64c25629ef2cced5fafc95190981d4d71a03a61fdce390af344347b809dcd49
|
7
|
+
data.tar.gz: df6d54402c2853e4fb4fca495f5dd4d1ec6e4ae33c1538a8549b92ae8a011d3d5eecf2b540b39f947dccc73ce7fa71d0bb2e6201ad9566a493455d771b6fb0a9
|
data/lib/ezdz-rails/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
// Ezdz [izy-dizy]
|
3
|
-
// v0.5.
|
3
|
+
// v0.5.1 - released 2016-05-10 14:52
|
4
4
|
// Licensed under the MIT license.
|
5
5
|
// https://github.com/jaysalvat/ezdz
|
6
6
|
// ----------------------------------------------------------------------------
|
@@ -199,8 +199,8 @@
|
|
199
199
|
// If the Mime-Type is not accepted
|
200
200
|
if (accepted !== true) {
|
201
201
|
$input.val('');
|
202
|
-
|
203
202
|
$ezdz.addClass(settings.classes.reject);
|
203
|
+
self.preview(null);
|
204
204
|
|
205
205
|
// Trigger the reject callback
|
206
206
|
if ($.isFunction(settings.reject)) {
|
@@ -284,8 +284,8 @@
|
|
284
284
|
// The file is invalidated, so rejected
|
285
285
|
} else {
|
286
286
|
$input.val('');
|
287
|
-
|
288
287
|
$ezdz.addClass(settings.classes.reject);
|
288
|
+
self.preview(null);
|
289
289
|
|
290
290
|
// Trigger the reject callback
|
291
291
|
if ($.isFunction(settings.reject)) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
// Ezdz [izy-dizy]
|
3
|
-
// v0.5.
|
3
|
+
// v0.5.1 - released 2016-05-10 14:52
|
4
4
|
// Licensed under the MIT license.
|
5
5
|
// https://github.com/jaysalvat/ezdz
|
6
6
|
// ----------------------------------------------------------------------------
|