Bugzilla – Attachment 115700 Details for
Bug 26755
Make the guarantor search popup taller
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26755: Make the guarantor search popup taller
Bug-26755-Make-the-guarantor-search-popup-taller.patch (text/plain), 1.85 KB, created by
Owen Leonard
on 2021-01-22 15:43:17 UTC
(
hide
)
Description:
Bug 26755: Make the guarantor search popup taller
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-01-22 15:43:17 UTC
Size:
1.85 KB
patch
obsolete
>From 8c2af7b3ea42dd63e91a61824dc8aacaef447d67 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 22 Jan 2021 15:20:00 +0000 >Subject: [PATCH] Bug 26755: Make the guarantor search popup taller > >This patch changes the dimensions of the popup window in which >guarantors are chosen during the patron edit process. > >The patch also removes an obsolete function delcaration for "Dopop" >which is unused. > >To test, apply the patch and open a "child" type patron account for >editing. > >Click the "Add guarantor" button. This should trigger a popup window. >Eyeball the size of the window, you'll be able to tell that it is >exactly 800 pixels wide. >--- > koha-tmpl/intranet-tmpl/prog/js/members.js | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/members.js b/koha-tmpl/intranet-tmpl/prog/js/members.js >index f38870cc48..df9b82d962 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/members.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/members.js >@@ -34,11 +34,6 @@ function check_form_borrowers(nav){ > } > } > >-function Dopop(link) { >-// // var searchstring=document.form.value[i].value; >- var newin=window.open(link,'popup','width=600,height=400,resizable=no,toolbar=false,scrollbars=no,top'); >-} >- > function clear_entry(node) { > var original = $(node).parent(); > $("textarea", original).attr('value', ''); >@@ -196,7 +191,7 @@ $(document).ready(function(){ > > $('body').on('click', '#guarantor_search', function(e) { > e.preventDefault(); >- var newin = window.open('guarantor_search.pl','popup','width=600,height=400,resizable=no,toolbar=false,scrollbars=yes,top'); >+ var newin = window.open('guarantor_search.pl','popup','width=800,height=600,resizable=no,toolbar=false,scrollbars=yes,top'); > }); > > $('#guarantor_relationships').on('click', '.guarantor_cancel', function(e) { >-- >2.11.0
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 26755
:
112042
|
112043
|
115700
|
115701
|
115912