Commit 8dc60cf6 authored by Nicolas Widart's avatar Nicolas Widart

Commenting out dropzone for now.

parent e421213d
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
@section('content') @section('content')
<div class="row col-md-12"> <div class="row col-md-12">
<form action="{{ URL::route('api.media.store')}}" method="POST" class="dropzone" id="my-awesome-dropzone"> <form action="{{ URL::route('api.media.store')}}" method="POST" class="dropzone">
{!! Form::token() !!} {!! Form::token() !!}
</form> </form>
</div> </div>
...@@ -73,9 +73,9 @@ ...@@ -73,9 +73,9 @@
<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").dropzone({
url: $(this).attr('action') // 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