• Resolved ndfletch

    (@ndfletch)


    Tobias
    I’ve encountered a conflict on a theme by Themewich (GridStack) that I will share – and perhaps find a work-around because I like TablePress a great deal. Links below are to a test/dev site created to test functionality.

    Site: http://centennial.madpartners.com/
    User: stefano Password: Stefano.1

    Issue:
    Go to Gallery in the main navigation
    http://centennial.madpartners.com/gallery/

    Click on the portfolio link CC3200

    Issue> Page loads, but main gallery image does not

    Hit “refresh” and image loads.

    Go directly to http://centennial.madpartners.com/portfolio/cc3200/ and the issue does not happen.

    There is a JS error, I am assuming, from a compatibility issue between the components.

    The problem is “solved” by 1) Turning Ajax off for the site, or 2) deactivating TablePress.

    Thanks for a great plugin! (Being a baseball fan – you are you picking to win the World Series?)

    http://ww.wp.xz.cn/plugins/tablepress/

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not exactly sure why this happens, but my assumption is that the AJAX loading mechanism that the theme uses somehow changes the execution order of the TablePress JavaScript. As it seems, the JS call to the DataTables JS library is executed before the relevant file has been included.

    To fix this, you’ll therefore have to turn off that AJAX loading, or stop using the features of the DataTables JavaScript library (like sorting, search, and pagination) for all tables, by unchecking the “Use DataTables” checkbox on each table’s “Edit” screen.

    And as for the World Series: That’s a tough one this year, but I think I’ll go with the Red Sox.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘TablePress / Ajax / JS Error’ is closed to new replies.