web/views/tabs.py
branchstable
changeset 8191 eceaf9e21966
parent 8103 5feb10df65cd
child 8216 99ff746e8de8
--- a/web/views/tabs.py	Mon Jan 30 20:56:00 2012 +0100
+++ b/web/views/tabs.py	Thu Feb 02 17:59: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)),