Hi, I just tryied the same code with an old 1.80 web2py_src.zip I have
and can affirm that the Ajax dropbox modal[1] for references doesn't
work for me (and perhaps someone else) anymore with the last 1.81.5
update:

Traceback (most recent call last):
  File "/home/dac/web2py/gluon/restricted.py", line 178, in restricted
    exec ccode in environment
  File "/home/dac/web2py/applications/gesfam/controllers/familia.py",
line 45, in <module>
  File "/home/dac/web2py/gluon/globals.py", line 96, in <lambda>
    self._caller = lambda f: f()
  File "/home/dac/web2py/gluon/tools.py", line 2191, in f
    return action(*a, **b)
  File "/home/dac/web2py/applications/gesfam/controllers/familia.py",
line 10, in index
    db.familia.vivienda_id.comment =
ajax_create(db.familia.vivienda_id,title='aquí',value='aquí')
  File "/home/dac/web2py/applications/gesfam/models/db.py", line 113,
in ajax_create
    vars=dict(_ajax_add=field),ajax=True),_id='TB_%s' %
key,_class='hidden'))
  File "/home/dac/web2py/gluon/compileapp.py", line 100, in __call__
    if '.' in function:
TypeError: argument of type 'NoneType' is not iterable

It's there any workaround or just need to wait for another update.

Thanks in advance, Regards.

[1] http://web2py.com/AlterEgo/default/show/258

Reply via email to