This topic is locked
[SOLVED]

 Refresh page after Inline Edit

11/8/2012 2:23:11 PM
PHPRunner General questions
G
garivera author

After an inline edit, I need my page to refresh, as my records will no longer be displayed on that particular list page.
I've seen a solution for ASPRunner,

xt.assign "savealllink_attrs","disptype=""control1"" name=""saveall_edited" & id & """ style=""display:none"" onclick=""$('a[@id^=save_]').click();window.location.reload( true );""",


But I cant find the equilevent for PHPRunner.
I've also found this on the javascript onload but it does not work.

this.inlineEdit.saveAllButt.bind("click", function(e){

inlineEdit.saveAll();

location.reload();

});


Any help is appreciated.

C
copper21 11/8/2012

This works for me:
?><script>window.parent.location="TABLENAME_list.php"</script><?php
Place it in the Edit Page - After record updated.
Brian

G
garivera author 11/8/2012



This works for me:
?><script>window.parent.location="TABLENAME_list.php"</script><?php
Place it in the Edit Page - After record updated.
Brian


Awesome,
Thanks,

Gabe