⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Uploader not working



JerothKP

JerothKP
  • profile picture
  • Member

Posted 07 March 2013 - 11:41 AM

Hi, I'm using 

$crud->set_field_upload('file','assets/uploads/files');

 

but it's not working at all, I just get the following message in the browser's console:

Uncaught TypeError: Object function (a,c,d){var e=a.split(".")[0],f;a=a.split(".")[1];f=e+"-"+a;if(!d){d=c;c=b.Widget}b.expr[":"][f]=
function(h){return!!b.data(h,a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(h,g)};c=new c;c.options=b.extend(true,{},c.options);b[e][a].prototype=b.extend(true,c,{namespace:e,widgetName:a,widgetEventPrefix:b[e][a].prototype.widgetEventPrefix||a,widgetBaseClass:f},d);b.widget.bridge(a,b[e][a])} has no method 'extend'
jquery-ui-1.9.0.custom.min.js:6

 

 

I've looked for a solution but I found nothing, and the error is shown only when I set the upload field.

 

Could anybody give me some hint? Thnx in advance.

 

Edit: If I change the crud theme from white_dream to flexigrid it works fine, I just don't understand :(


Chad Pry

Chad Pry
  • profile picture
  • Member

Posted 14 January 2014 - 16:47 PM

I'm having the same issue. I'm getting 

 

e.widget.extend is not a function