Jump to:

3445 Posts in 1031 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » JS Error - Frontend FileUpload

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 205 Views
  • omnicurse
    Avatar
    Community Member
    8 Posts

    JS Error - Frontend FileUpload Link to this post

    I have an UploadField in the frontend that is returning

    Uncaught TypeError: Cannot call method '_adjustMaxNumberOfFiles' of undefined

    Whenever I try and upload a file.

    This seems to be an issue with the third party fileupload framework. I'm running the latest build of silverstripe and the frontend file upload is pretty standard. Is this issue with me or a bug in Silverstripe?

  • omnicurse
    Avatar
    Community Member
    8 Posts

    Re: JS Error - Frontend FileUpload Link to this post

    Solved - Issue only occurs when blocking the default jquery-ui and using a newer version. So something funny about jquery-ui 1.10.4 doesn't play nice with the old version of fileupload.js

    205 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.