Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2957

multiple editCode controls cannot coexsit in the same dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.2.2
    • 4.2.1
    • gui

    Description

      DialogEditCode writes out a javascript function which replaces the onclick event of the form on which the control has been placed when codepress is used. When more than one control is placed in a form, this replacement overwrites itself such that only one control works properly. No data is saved from the other controls, the corresponding properties are subsequently removed from the JCR.

      The supplied patch chains the functions, thereby removing the problem. As a side effect it removes the limitation that enabling codepress supersedes the dialog's own specific event handler.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgrilli Federico Grilli
              toby Toby O'Rourke
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD