This topic is locked

inline add refresh again

7/16/2009 9:04:43 AM
PHPRunner General questions
D
dakk author

On the list page I have inline add enabled. After I commit the add, the list page isn't sorted and the inline add link on the record just added is not displayed. After I manually refresh the IE browser everything displays normaly.
Adding either a header redirect or javascript on the add page events doesn't work because the add record is NOT on the Add page its on the list page (inline add). I've tried just to display a message after inline add and have not been successful using List page events. I'd rather not modify generated code after a build. I've searched the subject on the forum and this topic has been discussed but I haven't found a solution.
Suggestion:

If inline add refresh is not currently possible using events could php runner either add event capability for the List page/inline add and inline edit or automatically refresh current page after a record is either inline added or inline edited?
tks

J
Jane 7/16/2009

Hi,
use After record added event and JavaScript code to refresh page.

Here is just a sample:

if ($inline)

{

?><script>

...

</script><?php

}