Uncaught exception: SyntaxError: JSON.parse: Unable to parse value: object
Error thrown at line 23, column 36 in (e, data) in http://diapazon.dev/assets/658ab62d/application.fileupload.js:
var result = JSON.parse(data.result);
called from line 17, column 2568 in (c) in http://diapazon.dev/js/jquery.min.js:
var k=j.handler.apply(this,g);
called via Function.prototype.apply() from line 16, column 61072 in (a) in http://diapazon.dev/js/jquery.min.js:
return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b
called via Function.prototype.apply() from line 17, column 605 in (c, d, e, g) in http://diapazon.dev/js/jquery.min.js:
c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a
called via Function.prototype.apply() from line 17, column 15103 in () in http://diapazon.dev/js/jquery.min.js:
f.event.trigger(a,b,this)
called from line 16, column 24921 in (a, c, d) in http://diapazon.dev/js/jquery.min.js:
if(c.call(a[g],g,a[g++])===!1)
called via Function.prototype.call() from line 16, column 18412 in (a, b) in http://diapazon.dev/js/jquery.min.js:
return e.each(this,a,b)
called from line 17, column 15044 in (a, b) in http://diapazon.dev/js/jquery.min.js:
return this.each(function(){f.event.trigger(a,b,this)})
called from line 23, column 497 in (g, e, i) in http://diapazon.dev/assets/e6c61cb2/jui/js/jquery-ui.min.js:
this.element.trigger(e,i);
called from line 439, column 12 in (result, textStatus, jqXHR, options) in http://diapazon.dev/assets/658ab62d/jquery.fileupload.js:
this._trigger('done', null, options);
Opera return in result - Object , not string.
Check my json on this http://jsonlint.com/ result Valid json.
Have you found a solution for this issue?
Please read:
https://github.com/blueimp/jQuery-File-Upload#support