[Koha-bugs] [Bug 30709] 'Insert' button in notices editor not adding selected placeholders to notice

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 6 14:08:13 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30709

--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 134727
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=134727&action=edit
Bug 30709: 'Insert' button in notices editor not adding selected placeholders
to notice

This patch updates letter.js so that it uses .prop("selected") to look
for selected <option>s instead of .attr("selected"). This is necessary
because of the jQuery upgrade.

To test, apply the patch and edit any notice. Test that you can select
one or more database columns and insert them into the body of a notice
by clicking "Insert." Confirm that your selections are inserted where
you left the cursor in the message textarea.

Test with multiple message transports and with multiple languages
installed (with TranslateNotices enabled).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list