Disable the Warning before leaving page message

I recently had a requirement to remove the warning message that is displayed when a user tries to leave a MCMS posting while editing it.

I found a javascript method in the C:\Program Files\Microsoft Content Management Server\Server\IIS_CMS\WebAuthor\Client\AuthFormClient.js file.

WBC_offWarningBeforeLeave();

This did the trick.

Advertisements

2 Responses to Disable the Warning before leaving page message

  1. Anonymous says:

    Here are some links that I believe will be interested

  2. Anonymous says:

    I like it! Keep up the good work. Thanks for sharing this wonderful site with us.
    »

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: