Bugzilla – Attachment 150483 Details for
Bug 32253
Advanced cataloging editor doesn't load every line initially
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32253: Load all CodeMirror lines initially when using advanced editor
Bug-32253-Load-all-CodeMirror-lines-initially-when.patch (text/plain), 1.24 KB, created by
David Nind
on 2023-05-01 23:09:07 UTC
(
hide
)
Description:
Bug 32253: Load all CodeMirror lines initially when using advanced editor
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-05-01 23:09:07 UTC
Size:
1.24 KB
patch
obsolete
>From cb3150e5c58349cbfdb706077e45e5972a7f05e6 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 1 May 2023 22:13:02 +0000 >Subject: [PATCH] Bug 32253: Load all CodeMirror lines initially when using > advanced editor > >To test: >1. Have advanced editor turned on. >2. Load a record with many lines and see that not all the lines appear until you click on the visible ones. >3. Apply patch and try again >4. All lines should load. > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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 a167314729..4bb87d7a87 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -1037,6 +1037,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > $('.modal-body').each( function() { > $(this).height( $(window).height() * .8 - $(this).prevAll('.modal-header').height() ); > } ); >+ editor.refresh(); > }, 100); > } > >-- >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 32253
:
150476
|
150483
|
150536