Skip to content

Commit

Permalink
Fix move item if clipboard not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Dec 30, 2024
1 parent e787a0e commit 8a3eadf
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ protected function process(EnvironmentInterface $environment)
assert(\is_string($providerName));

// Check if it is a simple create-paste of a single model, if so, redirect to edit view.
// Only for not ajax calls e.g. move.
if (
$this->isSimpleCreatePaste(
null === $input->getParameter('isAjax')
&& $this->isSimpleCreatePaste(
$clipboard,
$providerName
)
Expand Down

0 comments on commit 8a3eadf

Please sign in to comment.