multiple editCode controls cannot coexsit in the same dialog
------------------------------------------------------------
Key: MAGNOLIA-2957
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2957
Project: Magnolia
Issue Type: Bug
Components: gui
Affects Versions: 4.2.1
Reporter: Toby O'Rourke
Assignee: Boris Kraft
Attachments: fix_multiple_edit_code_controls.patch
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------