[TYPO3-dam-devel] RFC #0016543: batch edit not working in Typo3 4.5

Dan Osipov dosipov at phillyburbs.com
Mon Jan 17 01:35:17 CET 2011


+1 by testing

On 1/7/11 9:49 AM, Lorenz Ulrich wrote:
> Hi Bjoern
>
> The causing problem for this bug was never entirely solved and we need
> to do it now.
>
> It doesn't have anything to do with TYPO3 versions, only with browser
> versions.
>
> Setting
>
> $this->pObj->doc->form = null;
>
> is/was no real solution.
>
> After doing that, you will find out that in Internet Explorer 8 (running
> in IE8 mode, not in a compatibility mode) the Media>List module is
> completely broken.
>
> The problem is that we have nested form tags in the Media>List module:
>
> <body>
> <form>
> TABLE
> Field selector with <form></form>
> Search with <form></form>
> etc.
> </form>
> </body>
>
> (By the way, we don't have this problem in Media>File, because we only
> have checkboxes with onClick actions there.)
>
> So I think to have a clean solution we need to get this structure:
>
> <body>
> <form>
> TABLE
> </form>
> Field selector with <form></form>
> Search with <form></form>
> etc.
> </body>
>
> So we still can't use $this->pObj->doc->form because according to
> template.php this is "useful when you need a form to span the whole page".
>
> So my solution is to wrap only the list table:
>
> // wraps the list table with the form
> $content .= tx_dam_SCbase::getFormTag();
> $content .= $dblist->getListTable();
> $content .= '</form>';
>
> The attached fix should solve the JavaScript/browser related issues and
> fix it for "all" browsers and TYPO3 versions.
>
>
> Best regards,
>
>
> Lorenz
>
>
>
> Am 17.12.2010 10:53, schrieb Bjoern Pedersen:
>> Am 17.12.2010 10:14, schrieb Andy Grunwald [wmdb]:
>

-- 
Dan Osipov
http://danosipov.com/blog


More information about the TYPO3-team-dam mailing list