web/views/tabs.py
changeset 6997 88b4fdce7c91
parent 6952 7de13eb473e3
child 7068 90ddf608fe2b
--- a/web/views/tabs.py	Wed Feb 16 08:40:25 2011 +0100
+++ b/web/views/tabs.py	Wed Feb 16 09:02:00 2011 +0100
@@ -58,8 +58,8 @@
         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="data/loading.gif" id="%s-hole" alt="%s"/>'
-              % (tabid, self._cw._('(loading ...)')))
+            w(u'<img src="%sloading.gif" id="%s-hole" alt="%s"/>'
+              % (self._cw.datadir_url, 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>'