fixed github issue 4, thanks ilvalle

This commit is contained in:
Massimo Di Pierro
2012-05-06 16:01:10 -05:00
parent 318fdac8e1
commit f03887f478
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
Version 1.99.7 (2012-05-05 09:00:54) dev
Version 1.99.7 (2012-05-06 16:00:34) dev

View File

@@ -2126,7 +2126,7 @@ class MENU(DIV):
for item in data:
(name, active, link) = item[:3]
if isinstance(link,DIV):
li = LI(link)
li = LI(name)
elif 'no_link_url' in self.attributes and self['no_link_url']==link:
li = LI(DIV(name))
elif link: