Bug #93500

TCEFORM duplicate button - no modal box?!

Added by Claus Harup 8 months ago. Updated 3 days ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
Start date:
2021-02-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Having the duplicate button i TCEFORM configured for i.e. tt_content gives me the oppotunity to duplicate the content at hand.... - that's fine.

Just wondering why there is no modal box showing when clicking the button?

If I - by accident - click the button the content will be duplicated and I will edit the newly created element - that' very confusing in my mind?!!?!?


Files

duplicate-modal.png (24.1 KB) duplicate-modal.png Oliver Bartsch, 2021-10-13 11:57
#1

Updated by Oliver Bartsch 3 days ago

Hi, I'm not sure what kind of modal box you expect. In case you click the duplicate button while having unsaved changes, following modal appears:

Otherwise, no modal appears. This is the same behaviour as for e.g. the "New" button, which also creates a new record. IMO this is correct as it's consistent with the rest of the backend. Creating records does never require a confirmation - additional click.

Also available in: Atom PDF