-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 8.5.3, 8.5.4
-
Component/s: Rich Text Editor
-
None
-
8.05
-
1
-
Severity 3 - Minor
-
0
Issue Summary
When I change the value of a rich text editor field by JavaScript API, the change is not reflected in the editor when an issue type is changed. HAPPENS ONLY IN FIREFOX.
Chrome works as expected.
Steps to Reproduce
Steps to reproduce:
1. Setup a project with at least two issue types to choose from and create a new issue in that project. Make sure the editor of the description field is set to "Visual" (see screenshot).
2. Execute the following in the Developer Console:
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e, context)
{ AJS.$("#description", context).val("test"); });
3. Change the issue type and notice that the description field is not changed
4. Set the editor to "Text" and notice that the text "test" appears
Expected Results
The editor should show the changed text also in "Visual" mode.
Actual Results
WE lose the text that we entered in the Visual; mode but we do see it in the text mode.
The below exception is thrown in the xxxxxxx.log file:
N/A
Workaround
Using Chrome is the only workaround at this point