web/views/basecomponents.py
changeset 6140 65a619eb31c4
parent 5854 b49f58a320e6
child 6141 b8287e54b528
--- a/web/views/basecomponents.py	Wed Aug 25 09:43:12 2010 +0200
+++ b/web/views/basecomponents.py	Wed Aug 25 10:01:11 2010 +0200
@@ -148,8 +148,7 @@
         self.w(u'<div id="appMsg" onclick="%s" class="%s">\n' %
                (toggle_action('appMsg'), (msgs and ' ' or 'hidden')))
         for msg in msgs:
-            self.w(u'<div class="message" id="%s">%s</div>' % (
-                self.div_id(), msg))
+            self.w(u'<div class="message" id="%s">%s</div>' % (self.domid, msg))
         self.w(u'</div>')