Bugzilla – Attachment 55362 Details for
Bug 16933
Alt-Y not working on "Please confirm checkout" dialogs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 16933 - Alt-Y not working on "Please confirm checkout" dialogs
SIGNED-OFF-Bug-16933---Alt-Y-not-working-on-Please.patch (text/plain), 2.45 KB, created by
Owen Leonard
on 2016-09-08 16:21:11 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16933 - Alt-Y not working on "Please confirm checkout" dialogs
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-09-08 16:21:11 UTC
Size:
2.45 KB
patch
obsolete
>From 342ba9e1b06880b1c81fa81808f7477ec26aba8d Mon Sep 17 00:00:00 2001 >From: Tim McMahon <tmcmahon@wlpl.org> >Date: Thu, 8 Sep 2016 12:19:17 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 16933 - Alt-Y not working on "Please confirm > checkout" dialogs >Content-Type: text/plain; charset="utf-8" > >This patch changes the keyboard shortcut for renew from Alt+y to Alt+w. > >To test: >1) Press Alt+y when you get a "Please confirm checkout" dialog. >2) The renew tab is selected instead of confirming the dialog. >3) Apply the patch and refresh your browser to load the change. >4) Repeat step one. >5) Alt+y confirms the checkout, Alt+w selects the renew tab. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/js/staff-global.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >index 90fb095..c4d9e5d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/staff-global.js >@@ -32,7 +32,7 @@ $.fn.selectTabByID = function (tabID) { > if($("#header_search #checkin_search").length > 0){ shortcut.add('Alt+r',function (){ $("#header_search").selectTabByID("#checkin_search"); $("#ret_barcode").focus(); }); } else { shortcut.add('Alt+r',function (){ location.href="/cgi-bin/koha/circ/returns.pl"; }); } > if($("#header_search #circ_search").length > 0){ shortcut.add('Alt+u',function (){ $("#header_search").selectTabByID("#circ_search"); $("#findborrower").focus(); }); } else { shortcut.add('Alt+u',function(){ location.href="/cgi-bin/koha/circ/circulation.pl"; }); } > if($("#header_search #catalog_search").length > 0){ shortcut.add('Alt+q',function (){ $("#header_search").selectTabByID("#catalog_search"); $("#search-form").focus(); }); } else { shortcut.add('Alt+q',function(){ location.href="/cgi-bin/koha/catalogue/search.pl"; }); } >- if($("#header_search #renew_search").length > 0){ shortcut.add('Alt+y',function (){ $("#header_search").selectTabByID("#renew_search"); $("#ren_barcode").focus(); }); } else { shortcut.add('Alt+y',function(){ location.href="/cgi-bin/koha/circ/renew.pl"; }); } >+ if($("#header_search #renew_search").length > 0){ shortcut.add('Alt+w',function (){ $("#header_search").selectTabByID("#renew_search"); $("#ren_barcode").focus(); }); } else { shortcut.add('Alt+w',function(){ location.href="/cgi-bin/koha/circ/renew.pl"; }); } > > $("#header_search > ul > li").show(); > >-- >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 16933
:
54941
|
55362
|
55457
|
56105
|
56114
|
56448
|
56451