projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0bc314c
)
Pour des requêtes passées avec ajax, il vaut mieux toujours définir la balise <base...
author
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 11 Apr 2014 15:18:20 +0000
(17:18 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Fri, 11 Apr 2014 15:18:20 +0000
(17:18 +0200)
skins/generic/main_template_ajax.pt
patch
|
blob
|
history
diff --git
a/skins/generic/main_template_ajax.pt
b/skins/generic/main_template_ajax.pt
index
8ae5de3
..
3d407cb
100644
(file)
--- 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')"/>
<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" />
<fragment id="mainCell"><span tal:replace="structure string:<![CDATA[" />
<link metal:define-slot="css_slot" tal:replace="nothing" />