I am having problems getting this code to work i Chorme, it works correctly
in IE and Firefox, but in Chrome the form opens in a new window instead of
the div tag.
If I use Putty to connect to the server in order to use the admin
interface, the code works correctly when I connect using localhost, but not
when connect directly using the external IP.
in controller my_controller:
def crud_update():
from gluon.tools import Crud
crud = Crud(db)
crud.settings.controller = 'my_controller'
form = crud()
if form.accepted:
return 'Updated!'
return form
in view:
{{for thing in things:}}
{{=thing.name}} -
{{=A(
'edit',
_href=URL('crud_update', args=['update','things', thing.id]),
cid='from_div'
)}}
<div id='from_div'></div>
Have I missed something, or is this some security feature or bu in Chrome?
Version 2.6.0-development+timestamp.2013.08.29.08.21.46
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.