[TYPO3-team-templavoila] RFC: #12504: Bugfix: pagemodule drag'n'drop is broken when running on 4.3beta
Tolleiv.Nietsch
info at tolleiv.de
Sat Nov 14 18:21:20 CET 2009
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=12504
Branches:
trunk
Problem:
The Drag'n'Drop function within the pagemodule stopped working in TYPO4
4.3 - this happens due to the fact that currently the sourcepointer of
an element is used as ID within the markup. The "xml:id" specification
of XHTML doesn't allow ":" to be part of id-strings. It seems that the
latest version of prototype (shipping with 4.3) has problems with
invalid IDs and therefore drag'n'drop won't work anymore.
Solution:
The provided patch fixes it with a "simple" id=>sourcePointer registry.
This makes sure that the actual ID only contains valid characters and
provides access to the sourcePointer values indirectly.
Additional informations:
Another option would be to change the delimiter for the sourcePointers
to be a "-" (that's the only character which is really left) - but due
to the fact that I think that a "-" can most likely be part of a
fieldname I'd prefer to keep ":".
Cheers,
Tolleiv
--
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0012504_pagemoduleDragNDrop_v2.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-templavoila/attachments/20091114/91027953/attachment-0001.txt>
More information about the TYPO3-team-templavoila
mailing list