Bugzilla – Attachment 100757 Details for
Bug 24789
Remove 'ITS' macro format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24789: [follow-up] Fix saving of macros
Bug-24789-follow-up-Fix-saving-of-macros.patch (text/plain), 1.48 KB, created by
Nick Clemens
on 2020-03-16 14:57:23 UTC
(
hide
)
Description:
Bug 24789: [follow-up] Fix saving of macros
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2020-03-16 14:57:23 UTC
Size:
1.48 KB
patch
obsolete
>From d2877b307c988a0b8aad8e89579aa5c3ac1cf434 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 16 Mar 2020 14:55:31 +0000 >Subject: [PATCH] Bug 24789: [follow-up] Fix saving of macros > >Saving was accidentally commented out in patches, this restores that > >To test: >1 - Create a new macro >2 - Add some content >3 - Reload the macro, no content >4 - Apply patch >5 - Repeat >6 - Macro saves/loads correctly >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >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 6b680a31fa..0130a63979 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -762,7 +762,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > if ( !name || macroEditor.savedGeneration == macroEditor.changeGeneration() ) return; > > macroEditor.savedGeneration = macroEditor.changeGeneration(); >-// storeMacro( name, { contents: macroEditor.getValue(), modified: (new Date()).valueOf(), history: macroEditor.getHistory(), format: $('#macro-format').val() } ); >+ storeMacro( name, { contents: macroEditor.getValue(), modified: (new Date()).valueOf(), history: macroEditor.getHistory() } ); > $('#macro-save-message').text(_("Saved")); > showSavedMacros(); > } >-- >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 24789
:
100005
|
100578
|
100700
| 100757