thecore_ui_partial_snippets 1.1.15 → 1.2.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 436f554b2b3730375acdd7ece9c7a2500e91fd1da59911e36b9c23341ac69332
|
4
|
+
data.tar.gz: b8ffa99e894b78faead076ce6288e717316a1202069ab0fdfe5d5ac91c5c2ff5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 609fd80b6ac3b9d716e4cd63f9c4e68c3cb618f9c3fa3bc3e20145519afb08f1534194233e3691ec398ed298696a578edca9eba13c0addd4d74d572f9cd2053e
|
7
|
+
data.tar.gz: ed6846230a4476e3daeb4ef9cef964ee3c1ea74ca37723fd5bc6021d67edec0e24979bdc650d0c9c243397f33552f099abf6d43eb4315d2ff0145e1de53b5178
|
@@ -49,6 +49,10 @@
|
|
49
49
|
$('#<%=target%>').on("dragleave", this.ondragleave);
|
50
50
|
},
|
51
51
|
|
52
|
+
beforeSuccess: function(){
|
53
|
+
console.log("beforeSuccess");
|
54
|
+
},
|
55
|
+
|
52
56
|
ondrop: function (e) {
|
53
57
|
// console.log(e)
|
54
58
|
e.preventDefault();
|
@@ -68,7 +72,7 @@
|
|
68
72
|
contentType: false,
|
69
73
|
type: 'POST',
|
70
74
|
success: function () {
|
71
|
-
|
75
|
+
fileupload.beforeSuccess();
|
72
76
|
$("#<%=target%>-upload-drop-zone-feedback").html($("<span><%=I18n.t :upload_ok%></span>").delay(3000).fadeOut(400));
|
73
77
|
}
|
74
78
|
});
|