This topic is locked

how to refresh the page after you add inline?

2/17/2011 7:39:12 AM
PHPRunner General questions
E
ericholiveira author

I need to refresh the list after adding a record
put this code after you add event

if($inline)

{

?><script>

setTimeout('window.location.reload(true)',100);

</script><?php

}


but did not work

A
amuro 2/20/2011

To refresh list page after inline edited, maybe you can refer to it.
file at includes\RunnerControls.js

setTimeout(function(){row.basicForm.destructor();row.basicForm=null;},0)<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=56604&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />;

change to

setTimeout(function(){row.basicForm.destructor();row.basicForm=null;},0);setTimeout('window.location.reload(true)',1000);