Koha/koha-tmpl/intranet-tmpl/lib
Nick Clemens 3b0f86b531 Bug 27308: Skip blank lines when inserting new
The intent of the macro insert new function is to add a new field at the correct numerical place in the record. If you have a blank line while editing, however, the new line will be inserted at the blank line, rather than checking the rest of the record.

To test:
1 - Create a macro like
    new 690=‡aLOCAL SUBJECT
2 - Insert a blank line into your record somewhere before where the 690 should be inserted
3 - Run the macro
4 - Line is inserted before the blank line
5 - Apply patch
6 - Reload (ensure cache is cleared and JS files are reloaded)
7 - Remove the previously created field, but leave the blank
8 - Run the macro
9 - Field is created at correct position

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Bug 27308: (QA follow-up) Remove commented line

I don't think we need to keep the original line as a comment.. this
patch simply cleans it up.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-01-12 16:03:03 +01:00
..
bootstrap
codemirror Bug 24193: Add CodeMirror linting of JavaScript, CSS, HTML, and YAML 2020-03-02 10:44:14 +00:00
d3c3
datatables
font-awesome
greybox
jquery Bug 26806: Remove the jquery.checkboxes plugin from the staff client 2020-11-03 10:57:35 +01:00
js-cookie Bug 23944: Phase out use of jquery.cookie.js in favor of js.cookie.js 2020-01-29 09:08:30 +00:00
jsdiff
keyboard
koha/cateditor Bug 27308: Skip blank lines when inserting new 2021-01-12 16:03:03 +01:00
leaflet
linters Bug 24193: Add CodeMirror linting of JavaScript, CSS, HTML, and YAML 2020-03-02 10:44:14 +00:00
moment Bug 24455: Add moment-timezone library in staff 2020-03-25 13:54:16 +00:00
select2 Bug 25727: Upgrade the Select2 JS lib to version 4 2020-08-24 11:19:03 +02:00
shortcut
tiny_mce Bug 22661: TinyMCE/WYSIWYG editor doesn't translate 2019-11-03 07:39:54 +00:00
yui
filesaver.js
hc-sticky.js
require.js