Koha-clms/koha-tmpl/intranet-tmpl/lib
Nick Clemens 6736f5254c 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>
(cherry picked from commit 3b0f86b531)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d27b1018a9)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 79618eb5a6)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-02-01 18:39:13 +01:00
..
bootstrap Bug 22023: Further improve responsive layout handling of staff client menu bar 2019-03-13 05:31:28 +00:00
codemirror Bug 22584: Add YAML support for Codemirror 2019-04-19 14:26:02 +00:00
d3c3 Bug 17282: Ability to create charts for SQL reports 2018-10-01 13:56:35 +00:00
datatables Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
font-awesome Bug 18810: Update Font Awesome to 4.7.0 2017-09-19 09:22:45 -03:00
greybox Bug 12101 - Move Greybox library outside of language-specific directory 2014-04-25 15:14:03 +00:00
jquery Bug 20501: Don't cut strings when unhighlighting in intranet search results 2020-05-07 22:00:10 +00:00
js-cookie Bug 23944: Phase out use of jquery.cookie.js in favor of js.cookie.js 2020-02-10 22:53:39 +00:00
jsdiff Bug 11876 [Follow-up] Add a diff view to staged MARC Records 2014-10-31 14:25:11 -03:00
keyboard Bug 17178: (RM follow-up) Use latest version of library 2019-06-28 16:35:18 +01:00
koha/cateditor Bug 27308: Skip blank lines when inserting new 2021-02-01 18:39:13 +01:00
leaflet Bug 18066: Add the leaflet library 2017-03-23 00:10:46 +00:00
select2 Bug 21285: Add missing select2x2.png file 2018-09-14 17:23:35 +00:00
shortcut Bug 11035: (follow-up) move shortcut.js 2013-12-03 15:35:15 +00:00
tiny_mce Bug 22661: TinyMCE/WYSIWYG editor doesn't translate 2019-11-03 07:39:54 +00:00
yui Bug 23259: Remove reset-fonts-grids.css 2019-07-15 11:28:07 +01:00
filesaver.js Bug 11559: New libraries for Rancor 2015-10-27 12:16:05 -03:00
hc-sticky.js Bug 21751: Replace fixFloat with HC-sticky to fix Chrome display 2019-02-04 14:13:35 +00:00
require.js Bug 11559: New libraries for Rancor 2015-10-27 12:16:05 -03:00