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 @@ ...@@ -73,9 +73,10 @@
<script src="{!! Module::asset('media', 'js/dropzone.js') !!}"></script> <script src="{!! Module::asset('media', 'js/dropzone.js') !!}"></script>
<script> <script>
$( document ).ready(function() { $( document ).ready(function() {
// $(".dropzone").dropzone({ Dropzone.autoDiscover = false;
// url: $(this).attr('action') $(".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>' 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); $('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