Confirmation message for leaving page edit mode should only be displayed after changes have been applied

Solution Verified - Updated -

Issue

  • It is observed in vanilla version of Site Publisher, that when we close the "Edit Page" view (after we click on edit portlet (pencil icon) for a portlet but dont do any changes in the portlet's Edit mode dialog), we get the popup message - "Modifications have been made. Are you sure you want to close without saving?".

Expected Result:
The message "Modifications have been made. Are you sure you want to close without saving?" should only be shown if we made changes in any portlet (through its respective Edit Mode UI) or in the page containers.

Environment

  • JBoss Site Publisher
    • 5.2.1
  • JBoss Enterprise Portal Platform
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.