This topic is locked

refresh list after inline add or edit

5/22/2008 7:18:07 PM
PHPRunner General questions
J
jack1438 author

Is there a way to trigger a re-load of a list page so that new and changed items get sorted into the list? Maybe some php function called from event code or something?
Sorry, I have searched, but not been able to find any posts that help
Thanks

J
Jane 5/23/2008

Hi,
you can do it editing generated include/inlineedit.js file manually.

Find this code:

calcTotals();



And add following lines just after:

if(!$("a[@id^=save_]",window.parent.document).length)

window.parent.location.href=window.parent.location.href.substr(0,window.parent.l

ocation.href.length-1);