I found that removing the script type="text/javascript" src="/_layouts/SP.js" from the javascript when running in a SharePoint Content Editor Web Part stopped this error. I suspect that the SP.js may have been loaded incorrectly but have been working on a locked down machine with IE7 so the dev toolbar is not as useful for debugging this as newer IEs.
When you use your own master page, must sure you have all of the neccessary .js files registered
ReplyDeleteI found that removing the script type="text/javascript" src="/_layouts/SP.js" from the javascript when running in a SharePoint Content Editor Web Part stopped this error. I suspect that the SP.js may have been loaded incorrectly but have been working on a locked down machine with IE7 so the dev toolbar is not as useful for debugging this as newer IEs.
ReplyDelete