[TYPO3-core] RFC: Bug #7637: Page tree fails to reload properly if page is copy and pasted

Oliver Hader oh at inpublica.de
Sat Feb 23 17:59:36 CET 2008


This is a SVN patch request.

Problem:
The page tree fails to reload when a page was manipulated (created, 
edited, moved, sorted, etc.) - see screenshot in bugtracker.

Solution:
Fix the URL used for reloading from '<script>??randNum=1234' to 
'<script>?<old-parameters>&randNum=1234' in JavaScript function 
'Tree.refresh()'.

Comments:
This behaviour was introduced by RFC #7307 (rev. 3263).
Before that change the page tree was reloaded by this JavaScript call:
| top.content.nav_frame.refresh_nav();
Afterwards the call looked like this:
| top.content.nav_frame.Tree.refresh();

I'm not sure if this change was intented but I fixed the bug in the 
function 'Tree.refresh();'.
Benni knows better what's going on and what I maybe have missed. Benni, 
could you please have a look? Thx! :)
However this RFC solves the mentioned bug and removes the '??' 
occurrence in the url parameters.

Bugtracker references:
http://bugs.typo3.org/view.php?id=7637

Branch: Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007637_v3.patch
Type: text/x-patch
Size: 1235 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080223/ac7d0d43/attachment.bin 


More information about the TYPO3-team-core mailing list