menu has empty components
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.0.8 (2012-09-11 10:25:49) stable
|
||||
Version 2.0.8 (2012-09-11 10:28:27) stable
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user