[web2py] Re: Broken ajax links in component

2014-07-10 Thread Leonel Câmara
Have you tried updating jquery 1.11 this seems like a known jquery 1.9 bug.

-- 
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.


[web2py] Re: Broken ajax links in component

2014-07-10 Thread Ian W. Scott
Sorry for the double post of this question. My original post took several 
hours to appear, so I thought it hadn't gone through.

On Wednesday, July 9, 2014 3:31:33 PM UTC-4, Ian W. Scott wrote:

 I'm in the process of upgrading a site from bs2 to bs3 and I've run into 
 an unexpected (and possibly unrelated?) error. On one page I have links in 
 one component that are supposed to update another component. The links are 
 now broken and raise an error:

 Syntax error, unrecognized expression: 
 /paideia/plugin_listandedit/edit.load/plugin_slider_decks/74?orderby=idtablename=plugin_slider_decks


 The unrecognized expression is simply the url that is supposed to be 
 loaded in the other component. The link that triggers this error looks like 
 this:

 a data-toggle=tab class=plugin_listandedit_list 
 data-w2p_disable_with=default data-w2p_method=GET 
 data-w2p_target=viewpane 
 href=/paideia/plugin_listandedit/edit.load/plugin_slider_decks/76?orderby=idamp;tablename=plugin_slider_decksAsking
  
 'When' Questions/a 


 So far I've tried updating the web2py.js file to the latest github 
 version, but that didn't change anything. I'm really mystified! 


-- 
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.


[web2py] Re: Broken ajax links in component

2014-07-10 Thread Ian W. Scott
I'm not running jquery 1.9. It's version 1.10.2. But I can try 1.11 and see 
what happens.

On Thursday, July 10, 2014 6:32:27 AM UTC-4, Leonel Câmara wrote:

 Have you tried updating jquery to 1.11 this seems like a known jquery 1.9 
 bug.


-- 
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.


[web2py] Re: Broken ajax links in component

2014-07-10 Thread Ian W. Scott
I found the culprit. The ajax links were in a list with the bootstrap 
classes nav nav-tabs. In bootstrap 3 the tabs js was choking on the url 
when an item was clicked.

On Thursday, July 10, 2014 6:57:51 AM UTC-4, Ian W. Scott wrote:

 I'm not running jquery 1.9. It's version 1.10.2. But I can try 1.11 and 
 see what happens.

 On Thursday, July 10, 2014 6:32:27 AM UTC-4, Leonel Câmara wrote:

 Have you tried updating jquery to 1.11 this seems like a known jquery 1.9 
 bug.



-- 
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.