Commit 48557d7a authored by Nicolas Widart's avatar Nicolas Widart

Setting autodiscover to false. and using own dropzone instantiation

parent d488c46f
......@@ -73,9 +73,10 @@
<script src="{!! Module::asset('media', 'js/dropzone.js') !!}"></script>
<script>
$( document ).ready(function() {
// $(".dropzone").dropzone({
// url: $(this).attr('action')
// });
Dropzone.autoDiscover = false;
$(".dropzone").dropzone({
url: $(this).attr('action')
});
var tableRow = '<tr><td>23/09/2140</td><td>filename</td><td>500</td><td>500</td><td>action</td></tr>'
$('table>tbody').append(tableRow);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment