Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Tom

Inline edit shows old value after navigating back using the browser.

A bit of a complicated issue but I’ll try to explain it as clearly as possible.

1. If i change a value in a post overview using the inline edit function.

Changing the value from ‘Ja’ to ‘Nee’.

2. The value changes

3. Now when I open up a post and navigate back to the overview using the browser back button

4. The value seems to have switched back to ‘Ja’.

5. And when I refresh the page it switches back to ‘Nee’ (the correct value).

This is quite problematic because this causes a lot of confusion for the clients.
They use this site for managing a backstage-pass system for a large festival and multiple people are using it.

5 years, 3 months ago
Tobias
Developer

What type of column are you using for the “Pas OK” values? (ACF or Custom Field)

5 years, 3 months ago
Tom

it’s an ACF field, showing it by using the ‘Admin Columns – Advanced Custom Fields add-on’.

5 years, 3 months ago
Stefan
Developer

I think it has nothing to to with the type of column you add.
The problem is that we use Ajax for inline edit. So the value of the column is updated without a page request when you change the value by using inline edit.

When you click back button in the browser, it goes back to the initial state of the page (without any Ajax actions) so it looks like the value is not changed.

A solution on our side would be to support the HTML5 history API for our inline edit functionality.
I’ve create a ticket for this on Github as improvement.
https://github.com/codepress/admin-columns-issues/issues/523

5 years, 3 months ago
Tom

Hi Stefan,

Ah yes that makes sense, stumbled upon a similar issue with another project myself recently.
I hope this can resolved soon, I’ll keep an eye on github.
thanks!

5 years, 3 months ago

You must be logged in to reply to this topic.