Editor REST function no longer working after 1.5.1 Update

Editor REST function no longer working after 1.5.1 Update

mychalkmychalk Posts: 3Questions: 2Answers: 0
edited September 2015 in Free community support

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

  • allanallan Posts: 62,056Questions: 1Answers: 10,173 Site admin
    Answer ✓

    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

This discussion has been closed.