This topic is locked

Automatically reload Page after Saving Inline Edit

3/30/2012 8:14:53 AM
PHPRunner General questions
jpedwardspost author

Hi,
For one specific table on my project I need to automatically reload the edit page after clicking the green 'tick' button to save an inline edit.
Does anyone know how to do this?
Thanks in advance,
Cheers,
JP.

C
cgphp 3/30/2012

In the "Javascript onload" event of the list page, enter this code:



this.on('afterSave', function(formObj, fieldControlsArr, pageObj){

location.href = "TableName_list.php";

});