fixed bug in gluon/html.py, thanks Anthony
This commit is contained in:
@@ -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
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user