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

multiple editCode controls cannot coexsit in the same dialog

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD