Merge pull request 'Add instructions field.' (#17) from 123/seminar:master into master

Reviewed-on: https://gitlab.tp.rulingcom.com/spen/seminar/pulls/17
This commit is contained in:
chiu 2024-02-28 08:38:54 +00:00
commit 397046e9b4
1 changed files with 1 additions and 0 deletions

View File

@ -483,6 +483,7 @@ $(function() {
$(this).children("option:selected").each(function () { $(this).children("option:selected").each(function () {
deinit_template_html(target); deinit_template_html(target);
var target = $(this).closest('.attributes').find('.field-type').not('.default'); var target = $(this).closest('.attributes').find('.field-type').not('.default');
deinit_template_html(target);
attributeIndex = $(this).closest('.attributes').index(); attributeIndex = $(this).closest('.attributes').index();
appendIndex = 0 appendIndex = 0
// $(this).closest('.attributes').find('.add-target').find('.input-append').length; // $(this).closest('.attributes').find('.add-target').find('.input-append').length;