function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

S-Control creating problem in normal browser function

Hi All
I have over-ridden the Close Case button with an S-control such that only when some condition is satisfied the Case can be closed.( other wise it will throw an alert and will return back to the View page). that is fine.
But Now, what happens is " If I close the Case.....and If I then want to go back to the Close case clicking the BACK button in the browser it is not going to the Close case page...Instead it is in the same View page of the Case.....
Also One more point is ....If I click the BACK button twice...It is working fine...What might be the problem?
Thanks in Advance
I am having the same issue in my S-Control that overrides the Opportunity View button, using the code


Does anyone have an idea how to avoid this?

FYI - Salesforce support informed me that "the double click is a normal behavior in this situation.  This is because there are two functions fired. "