if not request.ajax: response.menu = _menu() On Thu, Dec 20, 2012 at 1:52 PM, Martijn Hermans <martijn.herm...@gmail.com>wrote:
> When I handle a request in Web2Py it builds a menu in models/menu.py. > This behaviour is exactly what I want for a normal request, but I want to > skip this, when I make an ajax-call. > > Is this possible? > > thx, > > Martijn > > -- > > > > --