merge default heads
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 16 Feb 2011 10:30:09 +0100
changeset 6999 e73e05ea8705
parent 6998 d662dfdfe495 (current diff)
parent 6997 88b4fdce7c91 (diff)
child 7001 c53aa19640b2
merge default heads
--- a/web/views/tabs.py	Wed Feb 16 10:29:47 2011 +0100
+++ b/web/views/tabs.py	Wed Feb 16 10:30:09 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>'