fix emacs syntaxic colorization stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 27 Aug 2009 12:02:38 +0200
branchstable
changeset 3026 17644247f0ff
parent 3025 3a65f9b3367c
child 3031 732c06e89906
fix emacs syntaxic colorization
web/views/tabs.py
--- a/web/views/tabs.py	Wed Aug 26 15:01:52 2009 +0200
+++ b/web/views/tabs.py	Thu Aug 27 12:02:38 2009 +0200
@@ -130,14 +130,15 @@
         # call the set_tab() JS function *after* each tab is generated
         # because the callback binding needs to be done before
         # XXX make work history: true
-        self.req.add_onload(u'''
+        self.req.add_onload(u"""
   jQuery('#entity-tabs-%(eeid)s > ul').tabs( { selected: %(tabindex)s });
   set_tab('%(vid)s', '%(cookiename)s');
-''' % {'tabindex'   : tabs.index(active_tab),
+""" % {'tabindex'   : tabs.index(active_tab),
        'vid'        : active_tab,
        'eeid'       : (entity and entity.eid or uid),
        'cookiename' : self.cookie_name})
 
+
 class EntityRelationView(EntityView):
     """view displaying entity related stuff.
     Such a view _must_ provide the rtype, target and vid attributes :