menu has empty components
This commit is contained in:
1 parent
95a4f8e4d5
commit
2fb6138ed2
2 files changed
+2
-1
No files matched your search
@@ -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