--- a/web/data/cubicweb.ajax.js Mon Jan 30 20:56:00 2012 +0100
+++ b/web/data/cubicweb.ajax.js Thu Feb 02 17:59:52 2012 +0100
@@ -709,6 +709,7 @@
function loadNow(eltsel, holesel, reloadable) {
var lazydiv = jQuery(eltsel);
var hole = lazydiv.children(holesel);
+ hole.show();
if ((hole.length == 0) && ! reloadable) {
/* the hole is already filed */
return;
--- 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)),