--- a/web/views/tabs.py Thu Mar 10 12:03:37 2011 +0100
+++ b/web/views/tabs.py Thu Mar 10 12:04:46 2011 +0100
@@ -60,8 +60,9 @@
w(u'<div id="lazy-%s" cubicweb:loadurl="%s">' % (
tabid, xml_escape(self._cw.build_url('json', **urlparams))))
if show_spinbox:
- w(u'<img src="%sloading.gif" id="%s-hole" alt="%s"/>'
- % (self._cw.datadir_url, tabid, self._cw._('(loading ...)')))
+ w(u'<img src="%s" id="%s-hole" alt="%s"/>'
+ % (xml_escape(self._cw.data_url('loading.gif')),
+ tabid, self._cw._('(loading ...)')))
else:
w(u'<div id="%s-hole"></div>' % tabid)
w(u'<noscript><p><a class="style: hidden" id="seo-%s" href="%s">%s</a></p></noscript>'