Skip to content

Commit

Permalink
[BUGFIX] Use native JS to enable duplication actions again
Browse files Browse the repository at this point in the history
When selecting a mass action in the "duplication
resolving modal", all individual actions are
disabled. On reseting the mass action by
selecting the "Please choose" option, the
individual actions are now properly enabled
again.

Resolves: #101972
Releases: main, 12.4
Change-Id: I6f14b53f650b32e41c424438285e336c690dad04
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81109
Tested-by: Oliver Bartsch <bo@cedev.de>
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Oliver Bartsch <bo@cedev.de>
  • Loading branch information
o-ba committed Sep 20, 2023
1 parent 1b29292 commit 2d9cbce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Build/Sources/TypeScript/backend/drag-uploader.ts
Expand Up @@ -521,7 +521,7 @@ class DragUploaderPlugin {
this.askForOverride[index].action = <Action>select.value;
}
} else {
$modal.find('.t3js-actions').removeProp('disabled');
modal.querySelectorAll('.t3js-actions').forEach((select: HTMLSelectElement) => select.disabled = false);
}
});

Expand Down

0 comments on commit 2d9cbce

Please sign in to comment.