Project

General

Profile

Actions

Task #55426

closed

Cleanup listframe cut/copy handling

Added by Bernhard Kraft over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2014-01-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Sprint Focus:
Remote Sprint

Description

The patch which enabled pasting of content elements into empty columns [1] required a fix for reloading the list frame after cut/copy a tt_content element via its clickmenu [2].

The patch [2] introduced a few lines in clickmenu.js which use a relict feature: Ancient times ago the clickmenu was not implemented by AJAX but by reloading the top-frame with some special parameters and Javascript therein generated the clickmenu. Then it was possible to add javascript for reloading the list frame after an element has been cut/copied to the clipboard.

This ancient feature is used again after fix [2] because the clickmenu makes a call to itself for cut/copy.

Eventual solution: Instead of making a call to alt_clickmenu.php for CB cut/copy actions make a call to tce_db.php/tce_file.php. Don't know if this works but alt_clickmenu shouldn't be misused for doing a cut/copy of an element into the clipboard. If this is solved the temporary solution in clickmenu.js could get removed again.

[1] https://review.typo3.org/#/c/25532/
[2] https://review.typo3.org/#/c/25544/


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #15080: there is no way to paste content element to page where there is no content at all yet (in page view)Closed2005-10-17

Actions
Related to TYPO3 Core - Bug #15958: copy/paste in Clipbord in List moduleClosed2006-03-31

Actions
Actions

Also available in: Atom PDF