contributte / fileupload

🆙 File uploads on steroids for Nette Framework (@nette). Implements blueimp/jquery-file-upload.
https://contributte.org/packages/contributte/fileupload.html
MIT License
28 stars 23 forks source link

Verze 2.0.0beta - JS hlásí Renderer is not defined #28

Closed Trsak closed 7 years ago

Trsak commented 7 years ago

Zdravím, dostávám do konzole následující chybu:

Uncaught ReferenceError: Renderer is not defined
    at HTMLDocument.ready (functions.js:24)
(anonymous) @ hra-9151:172
ready @ functions.js:24

Renderer registruji jakto:

   /** @var FileUploadControl $upload */
    $upload = $form->addFileUpload("uploader"); 

    $upload->setRenderer("Zet\FileUpload\Template\Renderer\Bootstrap4Renderer");  

    $upload->setFileFilter(DocumentFilter::class);
Trsak commented 7 years ago

Omlouvám se - samozřejmě jsem měl v cache soubory z verze 1.2..