fix js syntax in tabs.forceview()
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 30 Jan 2009 17:01:15 +0100
changeset 544 890e8d016d12
parent 543 c0f2b6378f70
child 545 73aab1d2a27a
fix js syntax in tabs.forceview()
web/views/tabs.py
--- a/web/views/tabs.py	Fri Jan 30 16:57:20 2009 +0100
+++ b/web/views/tabs.py	Fri Jan 30 17:01:15 2009 +0100
@@ -57,7 +57,7 @@
         on dom readyness
         """
         self.req.add_js('.lazy.js')
-        self.req.html_headers.add_onload("trigger_load('%s');})" % vid)
+        self.req.html_headers.add_onload("trigger_load('%s');" % vid)
 
 
 class TabsMixin(LazyViewMixin):