Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

The user sees this message when they "Reset Page Content":

You are about to reset all personalized Web Parts to their shared values and delete any private Web Parts. Click OK to complete this operation. Click Cancel to keep your personalized Web Part settings and private Web Parts.

How can I customize this?

Ideally via Javascript, but I'll take a server-side customization if that's necessary.

share|improve this question
    
Did you see my answer? :) I've created a fully working code and wonder if it reaches your goal. –  Alex Boev Mar 2 '12 at 18:15

1 Answer 1

up vote 1 down vote accepted

Add a content editor webpart to page with the following script:

<script type="text/javascript">
function ReplaceText()
{
    MSOStrings.ResetPagePersonalizationDialogText = 'Custom Message';
}

_spBodyOnLoadFunctionNames.push('ReplaceText');
</script>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.