diff -r b3430af22580 -r 385ce5e0b30b web/views/tabs.py
--- a/web/views/tabs.py Fri Jan 30 11:55:05 2009 +0100
+++ b/web/views/tabs.py Fri Jan 30 12:29:37 2009 +0100
@@ -35,9 +35,10 @@
w = w or self.w
self.req.add_js('cubicweb.lazy.js')
eid = eid or ''
- w(u'
' % (vid, vid, eid))
+ w(u'
' % (vid, vid, eid))
if show_spinbox:
- w(u'
' % vid)
+ w(u'
'
+ % (vid, self.req._('loading')))
w(u'
')
self.req.html_headers.prepend_post_inline_script(u"""
jQuery(document).ready(function () {
@@ -82,7 +83,8 @@
def render_tabs(self, tabs, default, entity):
self.req.add_css('ui.tabs.css')
- self.req.add_js(('ui.core.js', 'ui.tabs.js', 'cubicweb.tabs.js', 'cubicweb.lazy.js'))
+ self.req.add_js(('ui.core.js', 'ui.tabs.js',
+ 'cubicweb.ajax.js', 'cubicweb.tabs.js', 'cubicweb.lazy.js'))
# prune tabs : not all are to be shown
tabs = self.prune_tabs(tabs)
# select a tab