• Resolved frdrctb

    (@frdrctb)


    Hi
    I am using both weDocs and Tablepress plugins. When I use the tablepress shortcode [table id=x/] in a standard post or page, TablePress works fine, but in a “doc” I get a very annoying modal warning when displaying the doc page. After a few research, this comes from a double call of the datatable JS function, as explained here
    https://www.ads-software.com/support/topic/tablepress-cannot-reinitialise-datatable-problem/

    Hi,

    the warning is simply caused by the DataTables JS call being in the page HTML twice (just use “View Source” in the browser and look for “dataTable(“. This will show you the two places. The cause for this being there twice is your theme or another plugin, I’m afraid.

    Regards,
    Tobias

    I checked the source code of the “doc” containing the tablepress shortcode and bingo found the 2 datatables calls. In a standard page, just one call.
    Could you help please ?
    Thanks in advance
    Frederic

    The page I need help with: [log in to see the link]

  • The topic ‘wedocs and tablepress problem : datatables JS called twice’ is closed to new replies.