menu has empty components

This commit is contained in:
mdipierro
2012-09-11 10:28:31 -05:00
parent 95a4f8e4d5
commit 2fb6138ed2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.0.8 (2012-09-11 10:25:49) stable
Version 2.0.8 (2012-09-11 10:28:27) stable
+1
View File
@@ -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: