If the upload not pictrues, oncomplete response css code
ShoryLee opened this issue · 1 comments
ShoryLee commented
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
I find the first word in response message is 1 or true , that`s the right message!