In some versions of Sage CRM you get this annoying “Leave Site” message when you navigate anywhere in the system.
The issue is in the file
So our workaround is to comment out the line
Now one thing to note about this.
1. The browsers cache js files, so users may not see this fix right away. Maybe try an IIS reset so they get the update.
REMEMBER: this looks to be a safe enough change but it is at your own risk. Always backup your CRM files before changing anything.
If you come up with a better way let us know.