Hello i use the web2py ajax function to call an action that needs
auth.requires_signature()
INPUT(_onclick="ajax('"+url+"',[],':eval')"

the users see a popup that i inject in the response  because of the eval

However if i have admin open and do a query, when i go back to that user
page and click again on the input the browser gets in the console
Failed to load resource: the server responded with a status of 403
(Forbidden)
comming from default/user/not_authorized
This seems to be related to the query via admin and ssl. That is not a big
problem but...

How can i detect this to have another popup to warn the user that the click
was not succedded ?

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to