Editor REST function no longer working after 1.5.1 Update
Editor REST function no longer working after 1.5.1 Update
Hello,
I recently upgraded to the editor to 1.5.1 and noticed that when updating an entry it no longer is sending the row ID in the PUT request to the server. This results in the table not reflection the edit unless you refresh the page.
I'm using this line in my editor js to set it up the REST call:
edit: { type: 'PUT', url: '/ed/lib/php/rest/edit.php?id=_id_' }
When I look at the call to the server in Firebug the url just looks like:
http://dashboard.relaunchradio.com/ed/lib/php/rest/edit.php?id=
As you can see the ID is blank so that's why it's not updating the table.
Any help would be much appreciated.
This question has an accepted answers - jump to answer
Answers
Hi,
The client / server data format changed by default in 1.5 to support multi-row editing. It is possible you are running into a problem with that. You can enable the old style using the
legacyAjax
option.The upgrade documentation has more detail.
Allan