[TYPO3-core] RFC #17078: in fileadmin saving changes from t3editor doesn't work

Tobias Liebig mail_typo3 at etobi.de
Sun Jan 23 13:40:23 CET 2011


This is an SVN patch request.

Type: bugfix

Bugtracker reference:
http://bugs.typo3.org/view.php?id=17078

Branches: Trunk

Problem:
saving changes in a file (in fileadmin > fileedit) from t3editor doesn´t work.

The problem is, that the docheader in fileadmin has <a>-tags with an onclick-attribute to submit the form.
The t3editor does not recognize these <a-tags, but expected a "<input type=submit" or "<input type=image".

Solution:
The attached patch adds the expected events to the <a-tags and removes the "onclick="document.editform.submit();"-attribute.

Note: i'm going to commit tonight, if no one complains.

regards
   tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17078.diff
Type: application/octet-stream
Size: 5946 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110123/3423fafb/attachment-0001.obj>


More information about the TYPO3-team-core mailing list