Inline Editing With File Upload Error
Inline Editing With File Upload Error
Hi,
I'm trying allow inline editing with the ability to upload a file. The file is uploaded in the Uploads folder, the record is inserted into the Upload table in the database but the ID is not being assigned to the foreign key.
I am getting the following error in the process:
DataTables warning: table id=Table_Requisition - This request does not have a Content-Type header. Forms are available from requests with bodies like POSTs and a form Content-Type of either application/x-www-form-urlencoded or multipart/form-data.
Answers
Below is the relevant content of my script files:
View JavaScript
Controller
I have tried to follow the suggestions in the following link, but without success:
Kindly assist or point me to some resource I can refer to.
Thanks.
Interesting! I'm not sure I've encountered that particular error before. Are you able to PM me a link to the page so I can take a direct look at the Ajax request that is being sent?
Thanks,
Allan