contao/import — Issue #3257: toggleFileManager & togglePagetree should not use the current URL
Author: aschempp
Created: 2011-11-29 21:13:02+00:00
State: open
Labels: backend, Defect

The toggle routines in the Contao javascript currently use the current browser URL to submit the request. However, the server is analyzing that URL (current table), therefore it should match the button URL.
Here is a patch to solve the issue. It uses the button URL instead of the browser URL to submit the request.

(Credits to Christoph Wiechert!)

[Download the attachments](http://www.contao.org/tl_files/tickets/3257.zip "Download the attachments of this ticket")

--- _Originally created on July 11th, 2011, at 04:24pm (ID 3257)_