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

Error on form submit if ddm form field is added then removed

    Details

      Description

      Event handlers are not removed if the portlet is refreshed and the formNode is gone.

      Example would be going from document type: 'Contract' to 'Basic Document' and instead of saving/reloading, calling:

      Liferay.Portlet.refresh('#p_p_id<portlet:namespace />');
      

      This javascript error would occur:

      Uncaught TypeError: Cannot read property 'val' of null
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 42 weeks, 1 day ago

                Packages

                Version Package
                Master