Inline Editing stopped working since AJAX customized?

Inline Editing stopped working since AJAX customized?

canfiacanfia Posts: 4Questions: 2Answers: 2

Hi there,

Since changing my ajax from

ajax: "php/table.zsm.php"

to

ajax: {
url: "php/table.zsm.php",
type: "GET",
data: {
portfolio: getQueryVariable("port"),
year: getQueryVariable("yr"),
type: getQueryVariable("ty")
}}

I noticed the parameter's above are being passed and added after the edit parameter when the edit request is trying to be performed.

How can I prevent this?

This question has an accepted answers - jump to answer

Answers

  • canfiacanfia Posts: 4Questions: 2Answers: 2
    Answer ✓

    Simple fix actually...

    Edit function was POST whereas I was trying to use GET causing the server to become confused.

    Changed GET to POST above solved this.

This discussion has been closed.