focus class is not working in this case - hints appreciated.
Created attachment 146330 [details] [review] Bug 32886: Set focus for cursor to Code when adding a new restriction This patch adds the "focus" class to the form for defining a new patron restriction so that the cursor focus is automatically added. To test, apply the patch and go to Administration -> Patron restrictions -> New restriction. The cursor should automatically move to the "Code" input field.
Created attachment 146336 [details] [review] Bug 32886: Set focus for cursor to Code when adding a new restriction This patch adds the "focus" class to the form for defining a new patron restriction so that the cursor focus is automatically added. To test, apply the patch and go to Administration -> Patron restrictions -> New restriction. The cursor should automatically move to the "Code" input field. Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(In reply to Katrin Fischer from comment #1) > focus class is not working in this case - hints appreciated. Huh, not sure what I did there, it works after all!
Created attachment 147363 [details] [review] Bug 32886: Set focus for cursor to Code when adding a new restriction This patch adds the "focus" class to the form for defining a new patron restriction so that the cursor focus is automatically added. To test, apply the patch and go to Administration -> Patron restrictions -> New restriction. The cursor should automatically move to the "Code" input field. Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x
Doesn't apply clean in 22.05.x, no backport