You need to sign in to do that
Don't have an account?
Ben Meyers
Users logged out randomly after oncomplete() fires
I have a VisaulForce page with a button that calls the anctionFunction afRefreshData below. Randomly the methods reloadDt and resetSearchVariable inside afRefreshData's oncomplete call do not execute. Rather, they are displayed on the screen as seen in the image. Somehow the user gets logged out during the execution and is forced to relogin.
Has anyone seen this behavior?
Has anyone seen this behavior?
<apex:actionFunction name="afRefreshData" reRender="dataPanelId" oncomplete="reloadDt(); resetSearchVariable();" status="status" />
function reloadDt(){ var dtId = 'dataTable'; var data = $j('body').data('data'); var lblTotalCountId = 'totalCount'; reloadData(dtId, data, lblTotalCountId); } function resetSearchVariable(){ searchClicked = false; }