Running a new, not yet saved script from the dialog does not work anymore
-------------------------------------------------------------------------
Key: MGNLGROOVY-35
URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-35
Project: Magnolia Groovy Module
Issue Type: Bug
Components: tree/dialog
Reporter: Federico Grilli
Assignee: Federico Grilli
Priority: Critical
After switching to codemirror, the way to get the code from the textarea it
replaces has changed and what used to work with codepress no longer works with
codemirror. Tried to quickly look at this but there seems to be no easy fix,
also because the codemirror's {{editor}} variable created under the hood by the
dialogEditCode control for some reason is undefined to the code which runs the
groovy script from the dialog. No problem occurs after the script has been
saved and reloaded in the dialog. Then running it works.
--
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]>
----------------------------------------------------------------