Skip to content

Using document.domain breaks SharePoint’s menus

February 9, 2007

The following is a repost from my old SharePoint blog:

If you have some script in your web part page that sets the document.domain to a parent domain you will find that the SharePoint menus (Modify Shared Page, web part menus) inexplicably stop working.

I thought you may be able to get it to work by resetting the document.domain to the original value but this is not allowed. Although, doing this anyways gets the menus to work again but I noticed other scripts stopped working.


From → .Net, SharePoint

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: