thecore_ui_partial_snippets 1.1.13 → 1.1.14
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: c371fe0c5be69de0e1d0c5054b53e9442f89b86379b3d9d2538d316d89a6e7ad
|
4
|
+
data.tar.gz: 238cabcdb3fda9595c37073618d71ceb43ec229a42b41392220a6ba0c178d645
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef365053aa3db2f537ab133c018c4b45b959c9111fc895c5e5d02ac6ccb34b5059b999dc26457191f682a2ddc47d53b9b64b738a5f7326ff0158f08b9416da58
|
7
|
+
data.tar.gz: a2e2e540a3e305d03b6053c38674a5d87386227dc5582e623057a595742183ab247a24a1e3581d052908ecb2616c5bdd0ff7b2a94f984d438d9ba7730fd0b1e8
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<div class="panel-body">
|
29
29
|
|
30
30
|
<!-- Drop Zone -->
|
31
|
-
<div class="upload-drop-zone" id="
|
31
|
+
<div class="upload-drop-zone" id="<%=target%>">
|
32
32
|
<%=I18n.t :please_drag_and_drop_here%>
|
33
33
|
</div>
|
34
34
|
|
@@ -38,26 +38,9 @@
|
|
38
38
|
</div>
|
39
39
|
|
40
40
|
<script>
|
41
|
-
var fileUploadUrl;
|
42
41
|
var fileupload = {
|
43
|
-
|
42
|
+
dropZone: $('#<%=target%>'),
|
44
43
|
|
45
|
-
// UPLOAD CLASS DEFINITION
|
46
|
-
// ======================
|
47
|
-
|
48
|
-
dropZone: $('<%=target%>'),
|
49
|
-
// var uploadForm = document.getElementById('js-upload-form');
|
50
|
-
|
51
|
-
// var startUpload = function(files) {
|
52
|
-
// console.log(files)
|
53
|
-
// }
|
54
|
-
|
55
|
-
// uploadForm.addEventListener('submit', function(e) {
|
56
|
-
// var uploadFiles = document.getElementById('js-upload-files').files;
|
57
|
-
// e.preventDefault()
|
58
|
-
|
59
|
-
// startUpload(uploadFiles)
|
60
|
-
// })
|
61
44
|
init: function(){
|
62
45
|
this.dropZone.ondrop = this.ondrop;
|
63
46
|
this.dropZone.ondragover = this.ondragover;
|