title: Dropzone config not working + 'Dropzone already attached' error
body: <p>I'm using dropzone for handling image uploads on the front-end side.
  The plugin was working fine as long as it was stored in the <strong>head</strong> portion as a <strong>CDN</strong>.
  Lately I tried to download it and add into assetic like so:</p>
  <pre><code>{% block javascripts %}
      {% javascripts 
          'Scripts/jquery-3.1.1.min.js'
          'Scripts/dropzone.js'
          'Scripts/scripts.js' 
          'Scripts/scripts_admin.js'
      %}
          &lt;script src=&quot;{{ asset_url }}&quot;&gt;&lt;/script&gt;
      {% endjavascripts %}
  {% endblock %}
  </code></pre>
  <p>However since adding it like so I kept getting the error in console saying:</p>
  <blockquote>
  <p>Uncaught Error: Dropzone already attached</p>
  </blockquote>
  <p>I don't want to add the element programatically so I would prefer not using the <code>Dropzone.autoDiscover = false;</code> parameter.</p>
  <p>Now also I tried to get loader to have some options and trigger a page refresh when all images are finished loading, but despite using the exact same code used in <a href="http://jsfiddle.net/RenjithVR4/v8a52nan/4/" rel="nofollow noreferrer">working fiddles</a> I still cant get the <code>console.log()</code> to work when needed.</p>
  <p>Here is the form in html:</p>
  <pre><code>&lt;form action=&quot; {{ oneup_uploader_endpoint('gallery') }}&quot;  method=&quot;post&quot; class=&quot;dropzone&quot; id=&quot;my-awesome-dropzone&quot;&gt;
  &lt;/form&gt; 
  </code></pre>
  <p>And here are the options I'm (attempting to be) using</p>
  <pre><code>jQuery(function($) {
  
      Dropzone.options.myAwesomeDropzone = {
          maxFilesize: 5,
          addRemoveLinks: true,
          dictResponseError: 'Server not Configured',
          acceptedFiles: &quot;.png,.jpg,.gif,.bmp,.jpeg&quot;,
          init: function() {
              this.on(&quot;queuecomplete&quot;, function(progress) {
                  console.log(&quot;Uploaded!!!&quot;);
              });
          }
      };
  //...
  </code></pre>
  <p>How can I make this work properly?</p>
  <p>Any help would be amazing</p>