Skip to content

Commit d5a09b6

Browse files
authored
Fix(Core): Prevent failure when attempting to delete an actor (#1103)
1 parent cd1d3dd commit d5a09b6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
- Fix prevent failure when attempting to delete an actor
1011
- Fix form `path` for `tab` `container`
1112

1213
## [1.23.1] - 2025-11-20

inc/field.class.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,11 @@ function () {
10641064
'change',
10651065
'input, select, textarea',
10661066
function(evt) {
1067+
if (evt.target.hasAttribute('data-actor-type')) {
1068+
// Do not handle actor type changes
1069+
return;
1070+
}
1071+
10671072
if (evt.target.name == "itilcategories_id" && {$items_id} == 0) {
10681073
// Do not refresh tab container when form is reloaded
10691074
// to prevent issues diues to duplicated calls (when object is new)

0 commit comments

Comments
 (0)