For the record - this was only an issue for IE desktop. I had to switch off ajax in jQuery and now it works.
That means I have to make two different templates - one for IE, and one for everything else. Does web2py has a function to recognize if the browser is any IE browser?