Koha/koha-tmpl/intranet-tmpl/prog/js
Marcel de Rooy 5baf823935 Bug 18183: jQuery append error related to script tags in cloneItemBlock
See the detailed explanation of the error on Bugzilla.
As a workaround, we move the append of clone to outeritemblock before the
append of data (long string with item fields and script tags) to clone.

This patch also moves two vars inside the success function, since they are
not used outside of it.

Test plan:
[1] Set AcqCreateItem to receiving.
[2] Receive an order. Verify that adding, updating or deleting an item block
    still works as expected.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-01-02 11:46:40 -03:00
..
pages Bug 18708 [Revised] Show itemBarcodeFallbackSearch results in a modal window 2017-09-01 17:07:22 -03:00
acq.js Bug 19592: Move admin templates JavaScript to the footer: Acquisitions 2017-12-11 11:34:20 -03:00
acquisitions-menu.js Bug 19753: (QA follow-up) Style invoices menu item when on individual invoice page 2017-12-22 13:15:40 -03:00
additem.js Bug 18183: jQuery append error related to script tags in cloneItemBlock 2018-01-02 11:46:40 -03:00
admin-menu.js Bug 19608: (QA follow-up) Fix menu item styling for clone-rules 2017-12-26 12:52:33 -03:00
ajax.js
audio_alerts.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js Bug 19461: Add floating toolbar to staff client catalog search results 2017-10-25 16:12:53 -03:00
basketgroup.js
biblio_framework.js
cart.js
catalog.js Bug 17893 - Move JavaScript to the footer on staff client catalog pages 2017-09-07 14:05:49 -03:00
cataloging.js Bug 19503: Duplicating a dropdown menu subfield yields an empty subfield tag 2017-10-27 13:57:10 -03:00
checkouts.js Bug 19444: Display error message for auto_account_expired 2017-12-18 12:16:26 -03:00
datatables.js
file-upload.js
holds.js
item_search_fields.js
localcovers.js
marc_modification_templates.js
marc_subfields_structure.js
members.js Bug 18298: Use the validate jQuery plugin 2017-10-16 09:44:32 -03:00
merge-record.js
offlinecirc.js
onboarding.js Bug 19514: Add client-side check 2017-12-14 16:58:13 -03:00
prevent_submit.js
rotating-collections.js Bug 19656: Move rotating collections templates JS to the footer 2017-12-11 11:34:22 -03:00
serials-toolbar.js Bug 19777: Move template JavaScript to the footer: Serials, part 3 2017-12-14 16:58:13 -03:00
showpredictionpattern.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
sms_providers.js
staff-global.js Bug 19029: Add JavaScript security question for cloning circ rules 2017-10-27 14:09:00 -03:00
subscription-add.js Bug 19778: Move template JavaScript to the footer: Serials, part 4 2017-12-14 16:58:13 -03:00
tools-menu.js Bug 19627: (follow-up) Include tools-menu.js on required templates 2017-12-14 16:58:14 -03:00
xmlControlfield.js
z3950_search.js