title: Cannot read property 'previewTemplate' of undefined dropzone.js
body: <p>I use DropzoneJs is for uploading file, everything works fine, but if I want to add files from clipboard to drop zone I have to use FileReader. is when I user FileReader. guess I get following error "Cannot read property 'previewTemplate' of undefined"</p>
  
  <p>my dropzone code </p>
  
  <pre><code>Dropzone.options.dropzoneForm = {
  maxFiles: 9999,
  url: "ajax/uploader.aspx",
  init: function () {
      this.on("maxfilesexceeded", function (data) {
          var res = eval('(' + data.xhr.responseText + ')');
      });
      this.on("addedfile", function (file) {
          var removeButton = Dropzone.createElement("&lt;button&gt;Remove file&lt;/button&gt;");
          var _this = this;
          removeButton.addEventListener("click", function (e) {
              e.preventDefault();
              e.stopPropagation();
              _this.removeFile(file);
          });
          file.previewElement.appendChild(removeButton);
      });
  
      this.on("complete", function (file) {
          if (file.name.indexOf(".jpg") &gt; -1) {
              uploadDoneimg("img", file);
          } else if (file.name.indexOf(".png") &gt; -1) {
                else
                      {
                          ShowMessage('e', "Error p2i Convert !");
                      }
                  }
              });
  
          }
      });
  
  
      this.on("drop", function (file) {
          //  alert("drop : " + file.name);
      });
  
  
    }
  };
  
  
  FileReaderJS.setupClipboard(document.body, {
      accept: {
          'image/*': 'DataURL'
      },
      on: {
          load: function (e, cfile) {           
              $(Dropzone).addfile(cfile);
          }
      }
  });
  </code></pre>
  
  <p>this combination happend in following link </p>
  
  <p><a href="https://www.bitpixr.com/" rel="nofollow">https://www.bitpixr.com/</a></p>