fixed bug in gluon/html.py, thanks Anthony

This commit is contained in:
Massimo Di Pierro
2012-04-05 19:09:59 -05:00
parent 309f8207b3
commit 66edba7f05
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.7 (2012-04-05 19:06:57) dev
Version 1.99.7 (2012-04-05 19:09:40) dev
+1 -1
View File
@@ -2140,7 +2140,7 @@ class MENU(DIV):
def serialize_mobile(self, data, select=None, prefix=''):
if not select:
select = SELECT()
select = SELECT(**self.attributes)
for item in data:
if item[2]:
select.append(OPTION(CAT(prefix, item[0]), _value=item[2], _selected=item[1]))