Active Directory Products
Calls To Calendar
SMS To CSV
SMS To Gmail
Voicemail To Gmail
How Long For Me
<< Back To All Blogs
What causes "Please wait while scripts are loaded..." in SharePoint
Friday, September 26th, 2008
What was happening was my script was actually failing, but because of the order in which these events were occurring their check to see if the page had finished loading was actually eating the exception thrown by my code. In short, my code wasn't performing properly, nor was the code from Microsoft.
How do you get around this? Well, let's just start by saying that this is definitely a hack, and this goes from me tracing what actually occurs their function to trigger, but you can put the following code before your code:
g_pageLoadComplete = true
SharePoint Tom Out.
SharePoint Error Craziness: Volume 2
Understanding SharePoint Template Ids
Fixing MOSS/WSS SharePoint errors with Alternate Access Mappings
Up the creek without a paddle: Taking over a deserted SharePoint 2007 installation
Fixing "Error in loading DLL" in SharePoint
Kate said on Thursday, March 25th, 2010 @ 4:24 PM
This worked beautifully. Thankyou!
Tom said on Friday, March 13th, 2009 @ 8:52 AM
I actually didn't debug it in Visual Studio. I had to load up the script files as resources (that could be viewed without obfuscation) on the SharePoint server. I would then step through using FireBug and change the script server-side as necessary (this was on a development server, I would not recommend that for a live server).
Hope that helps!
Julien said on Friday, March 13th, 2009 @ 8:02 AM
Add A Comment
Email Address: (not public, used to send notifications on further comments)
Enter the text above, except for the 1st and last character: