jfeldstein / jQuery.AjaxFileUpload.js

jQuery plugin to magically make file inputs upload via ajax
408 stars 246 forks source link

If the upload not pictrues, oncomplete response css code #55

Open ShoryLee opened 7 years ago

ShoryLee commented 7 years ago

upload the pictrue is ok, but when i upload other files like '.mp4' or '.zip' etc. , the onComplete function will response like this:

console.log(response)

1@font-face {font-family: "yourDictFontAwesome";src: url("chrome-extension://dmckmhkomggmpalekfadjibdcknieljf/lib/fontawesome-webfont.ttf") format("truetype");font-weight: normal;font-style: normal;}

but the file was uploaded successfully. ps. the server side use ci framework. how can i fix it?

ShoryLee commented 7 years ago

I find the first word in response message is 1 or true , that`s the right message!