Provide a detailed step-by-step process to reproduce the problem.
- Edit a script in Script Editor.
- Without saving, click on another script on the side bar.
- A prompt will ask to "Save current file before switching file?", click "Save". This will switch to the other script.
- Click the first script. Script is blank.
Script is saved properly.
Script is lost. Blank script is shown.
Click "Cancel" on the prompt and save using the "Save" button provided at the top of the editor.
Reproduced the issue in ScriptRunner version 6.28.0, but not in version 6.27.0