From ea19ea0d94a36596178937c02e149b94a39e2d72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= <pin@cri.ensmp.fr> Date: Fri, 11 Apr 2014 17:18:20 +0200 Subject: [PATCH] =?utf8?q?Pour=20des=20requ=C3=AAtes=20pass=C3=A9es=20avec?= =?utf8?q?=20ajax,=20il=20vaut=20mieux=20toujours=20d=C3=A9finir=20la=20ba?= =?utf8?q?lise=20<base>=C2=A0:=20on=20=C3=A9vite=20bien=20des=20surprises?= =?utf8?q?=20d=C3=A9sagr=C3=A9ables.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/generic/main_template_ajax.pt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/generic/main_template_ajax.pt b/skins/generic/main_template_ajax.pt index 8ae5de3..3d407cb 100644 --- a/skins/generic/main_template_ajax.pt +++ b/skins/generic/main_template_ajax.pt @@ -1,7 +1,7 @@ <fragments metal:define-macro="master"> <metal:block use-macro="here/main_template_macros/macros/global_defines"/> <tal:block define="global dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')"/> -<base tal:omit-tag="" metal:define-slot="base" /> + <base metal:define-slot="base" tal:attributes="href python: here.absolute_url() + '/'"/> <fragment id="mainCell"><span tal:replace="structure string:<![CDATA[" /> <link metal:define-slot="css_slot" tal:replace="nothing" /> -- 2.20.1