Bugzilla – Attachment 157359 Details for
Bug 35101
Clicking the barcode.pl plugin causes screen to jump back to top
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35101: Stop screen from jumping back to top when using barcode.pl plugin
Bug-35101-Stop-screen-from-jumping-back-to-top-whe.patch (text/plain), 1.15 KB, created by
Lucas Gass
on 2023-10-18 20:33:05 UTC
(
hide
)
Description:
Bug 35101: Stop screen from jumping back to top when using barcode.pl plugin
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2023-10-18 20:33:05 UTC
Size:
1.15 KB
patch
obsolete
>From a82b014f0eb1af9e3b02f97003c35cec853df2dc Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 18 Oct 2023 20:31:32 +0000 >Subject: [PATCH] Bug 35101: Stop screen from jumping back to top when using > barcode.pl plugin > >To test: >1. Set 'autoBarcode' to something other than 'don't generate automatically' >2. If the a framwwork make sure some 952 fields have the barcode.pl plugin enabled >3. Add a new item and click the '...' next to the 952 field with the barcode.pl plugin enabled. >4. The screen jumps back to the top, annoying. >5. Apply patch >6. Try again, it should not jump anymore! >--- > cataloguing/value_builder/barcode.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/cataloguing/value_builder/barcode.pl b/cataloguing/value_builder/barcode.pl >index bd4a927ef1e..b166b46c4d5 100755 >--- a/cataloguing/value_builder/barcode.pl >+++ b/cataloguing/value_builder/barcode.pl >@@ -92,10 +92,12 @@ $scr > > function Focus$function_name(event) { > set_barcode(event.data.id, false); >+ return false; > } > > function Click$function_name(event) { > set_barcode(event.data.id, true); >+ return false; > } > </script> > END_OF_JS >-- >2.30.2
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 35101
:
157359
|
157367
|
157480