web/views/tabs.py
changeset 8216 99ff746e8de8
parent 8190 2a3c1b787688
parent 8191 eceaf9e21966
child 8237 f854cf9b089e
--- a/web/views/tabs.py	Fri Feb 10 16:31:39 2012 +0100
+++ b/web/views/tabs.py	Fri Feb 10 16:53:52 2012 +0100
@@ -61,11 +61,11 @@
             tabid, xml_escape(self._cw.build_url('json', **urlparams))))
         if show_spinbox:
             # Don't use ``alt`` since image is a *visual* helper for ajax
-            w(u'<img src="%s" alt="" id="%s-hole"/>'
+            w(u'<img style="display: none" src="%s" alt="" id="%s-hole"/>'
               % (xml_escape(self._cw.data_url('loading.gif')), tabid))
         else:
             w(u'<div id="%s-hole"></div>' % tabid)
-        w(u'<noscript><p>%s <a class="style: hidden" id="seo-%s" href="%s">%s</a></p></noscript>'
+        w(u'<noscript><p>%s <a id="seo-%s" href="%s">%s</a></p></noscript>'
           % (xml_escape(self._cw._('Link:')),
              tabid,
              xml_escape(self._cw.build_url(**urlparams)),