Bugzilla – Attachment 97747 Details for
Bug 24025
Make CodeMirror content searchable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24025: Make CodeMirror content searchable
Bug-24025-Make-CodeMirror-content-searchable.patch (text/plain), 1.06 KB, created by
Lucas Gass (lukeg)
on 2020-01-22 16:32:52 UTC
(
hide
)
Description:
Bug 24025: Make CodeMirror content searchable
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-01-22 16:32:52 UTC
Size:
1.06 KB
patch
obsolete
>From 03db4f895343f00314650f36f9131b91737e6bd3 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Wed, 22 Jan 2020 16:31:10 +0000 >Subject: [PATCH] Bug 24025: Make CodeMirror content searchable > >--- > koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js b/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js >index d5db030e7b..8eddad7770 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/pages/preferences.js >@@ -117,7 +117,8 @@ $( document ).ready( function () { > var editor = CodeMirror.fromTextArea( document.getElementById( "pref_" + target ), { > lineNumbers: true, > mode: syntax, >- lineWrapping: true >+ lineWrapping: true, >+ viewportMargin: Infinity, > }); > editor.on("change", function(){ > mark_modified.call( $("#pref_" + target )[0]); >-- >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 24025
:
97747
|
97748
|
97755