sync codes from 123/seminar.

This commit is contained in:
邱博亞 2024-03-21 21:57:22 +08:00
parent 397046e9b4
commit 52755f9afe
1 changed files with 0 additions and 1 deletions

View File

@ -481,7 +481,6 @@ $(function() {
}); });
$('#attributes-area').delegate('.dataType', 'change', function() { $('#attributes-area').delegate('.dataType', 'change', function() {
$(this).children("option:selected").each(function () { $(this).children("option:selected").each(function () {
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); deinit_template_html(target);
attributeIndex = $(this).closest('.attributes').index(); attributeIndex = $(this).closest('.attributes').index();