Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82393

Buttons problem, not working with two tables (Uncaught InternalError: too much recursion)

$
0
0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Uncaught InternalError: too much recursion
d https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:42
header https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:41
b https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:42
map jQuery
P https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:42
<anonymous> https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:39
e jQuery
S https://cdn.datatables.net/buttons/1.6.5/js/buttons.html5.min.js:16
action https://cdn.datatables.net/buttons/1.6.5/js/buttons.html5.min.js:22
g https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:14
l https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:15
jQuery 7
_buildButton https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:15
_expandButton https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:13
add https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:8
_constructor https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:11
w https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:7
H https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:6
jQuery 8
initDataTableBuscador http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:1854
success http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:806
jQuery 6
<anonymous> http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:699
jQuery 8
<anonymous> http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:199
jQuery 8
<anonymous> http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:198
jQuery 11
dataTables.buttons.min.js:42:141
RegExpGlobalReplaceShortOpt self-hosted:3085
Symbol.replace self-hosted:2909
replace self-hosted:3863
d https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:42
header https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:41
b https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:42
map self-hosted:221
map jQuery
P https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:42
<anonymous> https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:39
e jQuery
S https://cdn.datatables.net/buttons/1.6.5/js/buttons.html5.min.js:16
action https://cdn.datatables.net/buttons/1.6.5/js/buttons.html5.min.js:22
g https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:14
l https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:15
jQuery 7
_buildButton https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:15
_expandButton https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:13
add https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:8
_constructor https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:11
w https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:7
H https://cdn.datatables.net/buttons/1.6.5/js/dataTables.buttons.min.js:6
jQuery 8
initDataTableBuscador http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:1854
success http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:806
jQuery 6
<anonymous> http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:699
jQuery 8
<anonymous> http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:199
jQuery 8
<anonymous> http://develop.lanzaroteinvestments.com/lanza_crm/assets/js/admin.js?v=2237:198
jQuery 11
Description of problem:

Hello, im using datatables i a crm without a problem for a while.The thing is i have a page where you have a normal table that works, and then there is another table that gets build with an ajax request. After the table is append to the page and everything, then i initialize the new table and it seems ok but when i try any of the buttons i get the error Uncaught InternalError: too much recursion.

I did try to take out the other table thinking maybe that there were two tables was creating some problem but is not the case.

If anybody know what can be hapening ill be very grateful. Thx!


Viewing all articles
Browse latest Browse all 82393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>