[Zope3-dev] Double request of a page

Godefroid Chapelle gotcha@swing.be
Tue, 14 Jan 2003 23:54:18 +0100


Hi

Some of you have remarked that when browsing Z3 UI, pages get requested 
twice from server.

This happens with Mozilla only (IE6 is ok).

I have been trying to debug the problem but I feel stucked.

Last thing I found is that commenting line 341 of xmltree.js (current 
revision 1.10) avoids second request.

                         docNavTree.appendChild(navigationTree.domNode);

This line manipulates the document through DOM  : it adds the navigation 
tree built from data requested asynchronously (problem was the same when 
synchronous).
This happens during onLoad event.

I would appreciate any help from JavaScript experts.

--

Godefroid Chapelle

BubbleNet sprl
rue Victor Horta, 18 / 202
1348 Louvain-la-Neuve
Belgium

Tel + 32 (10) 459901
Mob + 32 (477) 363942

TVA 467 093 008
RC Niv 49849