Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-68027

As a developer i want to be able to prevent navigation using beforeNavigate event

    Details

      Description

      As a developer i want to be able to prevent navigation using beforeNavigate event.

      The following code:

      Liferay.on(
        'beforeNavigate',
        function(event) {
          event.preventDefault();
        }
      );
      

      should prevent the navigation.

        Attachments

          Activity

            People

            Assignee:
            john.co John Co
            Reporter:
            pavel.savinov Pavel Savinov
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.0.0 DXP FP16
                7.0.3 CE GA4
                7.0.0 DXP SP4
                7.0.X EE
                Master