[TYPO3-team-templavoila] RFC: #13278: "New" and "Browse" buttons don't seem to work properly after Drag&Drop
Tolleiv.Nietsch
info at tolleiv.de
Tue Jan 19 22:54:02 CET 2010
This is an SVN patch request.
Type: Feature-request
Bugtracker references:
http://bugs.typo3.org/view.php?id=13278
Branches:
trunk templavoila_1-4
Problem:
The detination pointers for the "New" and "Browse" buttons in the
page-module are not updated after Drag&Drop.
Solution:
This happens due to wrong recursion. The recursion takes only every
other "level" into account. The "New" and "Browse" button sit on a level
which is not processed and therefore they won't work as expected after a
Drag&Drop action.
Additional information:
The patch also adds the missing "tpm-browse" class, which also prevents
an update of the browse-button. And it limits the recursion to process
only the current "container". I guess due to the wrong recursion this
was never an issue because all elements within a nested container were
sitting on "odd" levels and therefore this didn't show up. And there's
no need to process nested containers at this place anyways.
Cheers,
Tolleiv
--
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13278.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-templavoila/attachments/20100119/1c1d0bff/attachment-0001.asc>
More information about the TYPO3-team-templavoila
mailing list