Skip to content

Commit

Permalink
Bugfix: Prevent registering event-handlers multiple times on elements…
Browse files Browse the repository at this point in the history
… in the advanced tab
  • Loading branch information
vigorouscoding committed Feb 4, 2025
1 parent ee66748 commit 0245610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions structr-base/src/main/resources/structr/js/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -1056,8 +1056,8 @@ let _Entities = {
}
}

$('.props tr td.value input', container).each(function(i, inputEl) { _Entities.activateInput(inputEl, id, entity.pageId, entity.type, typeInfo, onUpdateCallback); });
$('.props tr td.value textarea', container).each(function(i, textareaEl) { _Entities.activateInput(textareaEl, id, entity.pageId, entity.type, typeInfo); });
$('tr td.value input', propsTable).each(function(i, inputEl) { _Entities.activateInput(inputEl, id, entity.pageId, entity.type, typeInfo, onUpdateCallback); });
$('tr td.value textarea', propsTable).each(function(i, textareaEl) { _Entities.activateInput(textareaEl, id, entity.pageId, entity.type, typeInfo); });

if (view === '_html_') {

Expand Down

0 comments on commit 0245610

Please sign in to comment.