When a new macro is created it is not automatically selected - if you edit without selecting the macro nothing will be saved
Created attachment 117885 [details] [review] Bug 27890: Select new macro after creation There was an error here, we were capturing the status of the request (i.e. success) instead of the returned data. To test: 1 - Go to Cataloguing -> Advanced editor 2 - Click 'Macros' 3 - 'New macro..' 4 - Assing a name and click 'Ok' 5 - New macro is in list on left, but not selected 6 - Type into editor, no save feedback after typing 7 - Apply patch 8 - Reload the editor 9 - Repeat 3-4 10 - New macro is selected 11 - Type into editor, save notification appears
Created attachment 117888 [details] [review] Bug 27890: Select new macro after creation There was an error here, we were capturing the status of the request (i.e. success) instead of the returned data. To test: 1 - Go to Cataloguing -> Advanced editor 2 - Click 'Macros' 3 - 'New macro..' 4 - Assing a name and click 'Ok' 5 - New macro is in list on left, but not selected 6 - Type into editor, no save feedback after typing 7 - Apply patch 8 - Reload the editor 9 - Repeat 3-4 10 - New macro is selected 11 - Type into editor, save notification appears Signed-off-by: David Nind <david@davidnind.com>
This works, but it could be a nice addition to set the focus into the text field. At the moment you still have to click before you can typing the macro.
Created attachment 117890 [details] [review] Bug 27890: Select new macro after creation There was an error here, we were capturing the status of the request (i.e. success) instead of the returned data. To test: 1 - Go to Cataloguing -> Advanced editor 2 - Click 'Macros' 3 - 'New macro..' 4 - Assing a name and click 'Ok' 5 - New macro is in list on left, but not selected 6 - Type into editor, no save feedback after typing 7 - Apply patch 8 - Reload the editor 9 - Repeat 3-4 10 - New macro is selected 11 - Type into editor, save notification appears Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
We have an identical patch on bug 26964 - I've decided to prefer the other :) *** This bug has been marked as a duplicate of bug 26964 ***