# HG changeset patch # User Arthur Lutz # Date 1328201992 -3600 # Node ID eceaf9e21966d93953ce3c6303e7da58e4efea3e # Parent 864fc1f147a4fbf24f242c66d71718cb2516d042 [js] better support for no js in tabs (closes #2162092) diff -r 864fc1f147a4 -r eceaf9e21966 web/data/cubicweb.ajax.js --- 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; diff -r 864fc1f147a4 -r eceaf9e21966 web/views/tabs.py --- 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'' + w(u'' % (xml_escape(self._cw.data_url('loading.gif')), tabid)) else: w(u'
' % tabid) - w(u'' + w(u'' % (xml_escape(self._cw._('Link:')), tabid, xml_escape(self._cw.build_url(**urlparams)),