Re: [web2py] Re: menu, mobile phones and tablets

2012-08-21 Thread Massimo Di Pierro
Can you email me the patch? On Tuesday, 21 August 2012 10:59:21 UTC-5, mweissen wrote: > > Proposal: > > In gluon/html.py, line 2200 I have changed from > > def serialize_mobile(self, data, select=None, prefix=''): > if not select: > select = SELECT(**self.attributes) >

Re: [web2py] Re: menu, mobile phones and tablets

2012-08-21 Thread Martin Weissenboeck
Proposal: In gluon/html.py, line 2200 I have changed from def serialize_mobile(self, data, select=None, prefix=''): if not select: select = SELECT(**self.attributes) for item in data: if len(item) <= 4 or item[4] == True: * if item[2]:

[web2py] Re: menu, mobile phones and tablets

2012-08-21 Thread Massimo Di Pierro
Can you elaborate? Is there a problem that need to be solved? On Tuesday, 21 August 2012 09:46:35 UTC-5, szimszon wrote: > > +1 > > https://groups.google.com/d/msg/web2py-developers/FMCF0HTs64A/CJ-PNCaIsuwJ > > 2012. augusztus 21., kedd 15:58:27 UTC+2 időpontban mweissen a következőt > írta: >> >

[web2py] Re: menu, mobile phones and tablets

2012-08-21 Thread szimszon
+1 https://groups.google.com/d/msg/web2py-developers/FMCF0HTs64A/CJ-PNCaIsuwJ 2012. augusztus 21., kedd 15:58:27 UTC+2 időpontban mweissen a következőt írta: > > I have played with some menu details and these are my results > > First try: > > response.menu = [ > (T('Home'), False, URL('defau