Bugzilla – Attachment 62291 Details for
Bug 18415
Advanced Editor - Rancor - return focus to editor after successful macro
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 18415 - Advanced Editor - Rancor - return focus to editor after successful macro
SIGNED-OFF-Bug-18415---Advanced-Editor---Rancor---.patch (text/plain), 1.29 KB, created by
Owen Leonard
on 2017-04-18 13:28:58 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 18415 - Advanced Editor - Rancor - return focus to editor after successful macro
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-04-18 13:28:58 UTC
Size:
1.29 KB
patch
obsolete
>From 9161d8773af456333802ed9a62bdee4aefd37804 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 11 Apr 2017 11:22:13 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 18415 - Advanced Editor - Rancor - return > focus to editor after successful macro > >After running a macro we should return focus to the editor screen so >editing can continue from keyboard > >To test: >1 - Create a macro > 007=vd cvaizq >2 - Run it and note focus is not on editor >3 - Apply patch >4 - Reload page >5 - Run macro >6 - Note focus is returned to editor > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >index 83a0890..a6ac276 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -938,6 +938,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > > if ( !result.errors.length ) { > $('#macro-ui').modal('hide'); >+ editor.focus(); //Return cursor to editor after macro run > return false; > } > >-- >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 18415
:
62056
|
62291
|
63035