zotero/test
abaevbog a4225592a1
itembox: shift-enter adds new creator + bug fixes (#4567)
- shift enter on a creator row will add a new empty creator
row after focused row. If shift-Enter is on the last creator
before "More creators", all creators will be rendered.
- fixed encountered glitch where switching the mode of
creator would not always update the pref, so next time
a new creator row is added, it would not be of correct
mode.
- fixed encountered bug where a newly added creator row
could receive an index of an existing creator that is not rendered
( "More creators" label is displayed). In that case,
saving such creator would override an existing creator
and erasing that creator would remove invisible creators.
- added a few tests for these edge cases
- on shift-enter in unsaved creator row that only
has whitespace, do nothing, the focus will stay
in that row. It will be discarded if the focus leaves
it with nothing but whitespace.
- fix focus getting lost on shift-enter on an edited
creator field after adding just some whitespace.

Fixes: #4393
Fixes: #4710
2024-09-27 16:51:23 -04:00
..
components Switch back to @mozilla.org/browser/clh;1 and fix tests 2023-05-24 08:21:16 -04:00
content Tests: Fix importFileAttachment() logic, update outdated test (#4475) 2024-07-31 16:24:19 -04:00
resource fx-compat: Update httpd.js from mozilla-central 1739f130 2022-06-17 20:24:43 -04:00
tests itembox: shift-enter adds new creator + bug fixes (#4567) 2024-09-27 16:51:23 -04:00
chrome.manifest fx115: Restore test runner 2024-03-30 00:58:53 -04:00
runtests.sh Add pref to enable local API (#4236) 2024-06-14 06:25:39 -04:00