Bugzilla – Attachment 76474 Details for
Bug 20969
Use modal to add and edit notes from basket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20969: (follow-up) Move focus to textarea whe modal is shown
Bug-20969-follow-up-Move-focus-to-textarea-whe-mod.patch (text/plain), 1.23 KB, created by
Katrin Fischer
on 2018-06-26 21:48:43 UTC
(
hide
)
Description:
Bug 20969: (follow-up) Move focus to textarea whe modal is shown
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-06-26 21:48:43 UTC
Size:
1.23 KB
patch
obsolete
>From d2821ba6bccd8b30f2f583f3683f15169a369fda Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 26 Jun 2018 13:40:22 +0000 >Subject: [PATCH] Bug 20969: (follow-up) Move focus to textarea whe modal is > shown > >This follow-up adds code to move the mouse cursor to the modal window's >textarea when the modal is displayed. > >To test, apply the patch and test the process of adding/editing notes on >an order. Confirm that the focus moves to the textarea when the note >editor modal window is shown. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >index a909a93..e1ff9c5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt >@@ -766,6 +766,7 @@ > $("#ordernotes").html( note_text ); > $("#type").val( note_type ); > $("#noteEditor").modal("show"); >+ $("#ordernotes").focus(); > }); > > $("#noteEditor").on('hidden.bs.modal', function (e) { >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20969
:
76211
|
76212
|
76422
|
76438
|
76474
|
76595
|
76596
|
76597