Bugzilla – Attachment 160640 Details for
Bug 35554
Authority search popup is only 700px
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35554: Authority search popup width 800px
Bug-35554-Authority-search-popup-width-800px.patch (text/plain), 2.68 KB, created by
Fridolin Somers
on 2024-01-08 15:50:49 UTC
(
hide
)
Description:
Bug 35554: Authority search popup width 800px
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2024-01-08 15:50:49 UTC
Size:
2.68 KB
patch
obsolete
>From 418807963e4a612501608ab9f5d720981956bec5 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Tue, 12 Dec 2023 09:57:36 -1000 >Subject: [PATCH] Bug 35554: Authority search popup width 800px > >Authority search popup is only 700 pixels width. >Most popups use 800 pixels, like the z3950 one. > >Test plan : >1) Edit a biblio record >2) Click on value builder in a field linked to authority (ie 700) >3) Check popup is 800 pixels wide >4) Same with advanced editor >--- > koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js | 2 +- > koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js >index ea7fde2e70..451acf0325 100644 >--- a/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js >+++ b/koha-tmpl/intranet-tmpl/lib/koha/cateditor/marc-editor.js >@@ -188,7 +188,7 @@ define( [ 'marc-record', 'koha-backend', 'preferences', 'text-marc', 'widget' ], > if( subfields[i].code == '9' ) continue; > mainstring += subfields[i].text+' '; > } >- newin=window.open("../authorities/auth_finder.pl?source=biblio&authtypecode="+authtype+"&index="+index+"&value_mainstr="+encodeURIComponent(mainmainstring)+"&value_main="+encodeURIComponent(mainstring), "_blank",'width=700,height=550,toolbar=false,scrollbars=yes'); >+ newin=window.open("../authorities/auth_finder.pl?source=biblio&authtypecode="+authtype+"&index="+index+"&value_mainstr="+encodeURIComponent(mainmainstring)+"&value_main="+encodeURIComponent(mainstring), "_blank",'width=800,height=550,toolbar=false,scrollbars=yes'); > > } > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >index 01c9bcfe99..c42ff4b11c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -56,7 +56,7 @@ function openAuth(tagsubfieldid,authtype,source) { > } > } > mainstring = mainstring.join(' '); >- window.open("../authorities/auth_finder.pl?source="+source+"&authtypecode="+authtype+"&index="+tagsubfieldid+"&value_mainstr="+encodeURIComponent(mainmainstring)+"&value_main="+encodeURIComponent(mainstring), "_blank",'width=700,height=550,toolbar=false,scrollbars=yes'); >+ window.open("../authorities/auth_finder.pl?source="+source+"&authtypecode="+authtype+"&index="+tagsubfieldid+"&value_mainstr="+encodeURIComponent(mainmainstring)+"&value_main="+encodeURIComponent(mainstring), "_blank",'width=800,height=550,toolbar=false,scrollbars=yes'); > } > > function ExpandField() { >-- >2.43.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 35554
:
159778
|
160640
|
161387
|
162295
|
162317