Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

ForceReload() - How does it WOrk


Reply


3 Posts   863 Views

Avatar
zenmonkey

Community Member, 532 Posts

21 January 2011 at 1:59pm

I have an action on a Custom LeftAndMain that updates the data using a plain SQL query. How do I force the Panel to reload after the action is complete

LeftAndMain::ForceReload;
return;

just gives me a Javascript error.

Avatar
rob.s

Community Member, 78 Posts

23 January 2011 at 12:25am

did you try

LeftAndMain::ForceReload();

as method not as property ?

Avatar
zenmonkey

Community Member, 532 Posts

23 January 2011 at 6:40pm

Yes, I've tried calling it as a method before the return on the action and as the return of the action.

I'd really like to find more documentation on it