I found the culprit! The links were in a list with the bootstrap classes 
"nav nav-tabs". Because of that the bootstrap js was trying to use the link 
url to show a tab, but it was the wrong format. The implementation of 
bootstrap tabs must have changed between versions 2 and 3 enough that my 
ajax links could work before but now choked the bootstrap js.

Maybe this is something we should keep in mind as people migrate from 
bootstrap 2 to 3.

Anyway, thanks for your willingness to help Niphlod.


On Wednesday, July 9, 2014 5:57:39 PM UTC-4, Ian W. Scott wrote:
>
> Some ajax links that used to work have just broken and I'm not sure where 
> to start in debugging. The links target a load component on the page (using 
> cid) and they have started throwing this error:
>
> Syntax error, unrecognized expression: 
>> /paideia/plugin_listandedit/edit.load/word_forms/546?orderby=id&tablename=word_forms
>
>
> The "unrecognized expression" is simply the url from the link. I've tried 
> re-downloading the web2py source and updating web2py.js but neither seems 
> to help. The only thing I've done that could have broken it is update to 
> bootstrap3 using the package put together by Paolo Caruccio. But I don't 
> know enough about web2py.js to guess where a conflict might lie. 
>
> Any suggestions? 
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to