Here is my method in the controller but it returns undefined. I read somwhere it beacuse the headers is turn off. Any help will be greatly appreciated.
public PageReference logout(){ PageReference newpage = new PageReference('/secur/logout.jsp'); newpage.setRedirect(true); return newpage; }
Here is my method in the controller but it returns undefined. I read somwhere it beacuse the headers is turn off. Any help will be greatly appreciated.
public PageReference logout(){
PageReference newpage = new PageReference('/secur/logout.jsp');
newpage.setRedirect(true);
return newpage;
}
Add this to you inline.js file, I have tested it - works perfectly.
I hope this helps.
Regards,
Gaurav
Thanks Gaurav. but my app is served via Visualforce not index.html.