diff --git a/src/elements/Asset.php b/src/elements/Asset.php index fa74bcc0b6d..00c0ed7f485 100644 --- a/src/elements/Asset.php +++ b/src/elements/Asset.php @@ -1598,7 +1598,7 @@ protected function safeActionMenuItems(): array $userSession->checkPermission("editImages:$volume->uid") && ($userSession->getId() == $this->uploaderId || $userSession->checkPermission("editPeerImages:$volume->uid")) ) { - $editImageId = sprintf('action-edit-image-%s', mt_rand()); + $editImageId = sprintf('action-image-edit-%s', mt_rand()); $items[] = [ 'type' => MenuItemType::Button, 'id' => $editImageId,