web/views/tabs.py
branchstable
changeset 5370 dc6f3247bfc2
parent 5151 2f70fa8b6854
child 5421 8167de96c523
--- a/web/views/tabs.py	Wed Apr 21 17:25:26 2010 +0200
+++ b/web/views/tabs.py	Thu Apr 22 12:18:21 2010 +0200
@@ -47,6 +47,8 @@
         if show_spinbox:
             w(u'<img src="data/loading.gif" id="%s-hole" alt="%s"/>'
               % (tabid or vid, self._cw._('(loading ...)')))
+        else:
+            w(u'<div id="%s-hole"></div>' % (tabid or vid))
         w(u'<noscript><p><a class="style: hidden" id="seo-%s" href="%s">%s</a></p></noscript>'
           % (tabid or vid, xml_escape(self._cw.build_url(**urlparams)), xml_escape('%s (%s)') %
              (tabid or vid, self._cw._('follow this link if javascript is deactivated'))))