From 2fb6138ed25cf3392e5cfd9b59f5733bd739318b Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 11 Sep 2012 10:28:31 -0500 Subject: [PATCH] menu has empty components --- VERSION | 2 +- gluon/html.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 702419be..1091597f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.0.8 (2012-09-11 10:25:49) stable +Version 2.0.8 (2012-09-11 10:28:27) stable diff --git a/gluon/html.py b/gluon/html.py index 2d6b8131..b267d951 100644 --- a/gluon/html.py +++ b/gluon/html.py @@ -2227,6 +2227,7 @@ class MENU(DIV): def __init__(self, data, **args): self.data = data self.attributes = args + self.components = [] if not '_class' in self.attributes: self['_class'] = 'web2py-menu web2py-menu-vertical' if not 'ul_class' in self.attributes: