University doesn't work with Appointment + plug-in

Responsive WordPress theme suitable for Schools, Colleges or educational websites.
GK User
Tue Jan 06, 2015 9:53 am
Hi there,

It seems that the University plug-in doesn't work the the Appointment + plug-in of WPMU. I've tested the plug-in with one of the standard Wordpress themes, which went well. With University there seems to be a Java conflict, however, I can't find the error.

Who can help me? http://haarenzo-groningen.nl/make-an-appointment-2/
User avatar
Junior Boarder

GK User
Wed Jan 07, 2015 9:16 am
Hello,

What exactly doesn't work? I can't see any JS error in the console, could you please send me a PM with backend access to your website?
User avatar
Moderator

GK User
Thu Jan 08, 2015 1:03 pm
I'll send you a PM right now.
User avatar
Junior Boarder

GK User
Fri Jan 09, 2015 12:32 pm
This fragment has been removed from University/js/gk.scripts.js file:

Code: Select all
    // Responsive tables
            jQuery('article section table').each(function (i, table) {
                table = jQuery(table);
                var heads = table.find('thead th');
                var cells = table.find('tbody td');
                var heads_amount = heads.length;
                // if there are the thead cells
                if (heads_amount) {
                    var cells_len = cells.length;
                    for (var j = 0; j < cells_len; j++) {
                        var head_content = jQuery(heads.get(j % heads_amount)).text();
                        jQuery(cells.get(j)).html('<span class="gk-table-label">' + head_content + '</span>' + jQuery(cells.get(j)).html());
                    }
                }
            });



Works properly now, please remember about this during the next theme update.
User avatar
Junior Boarder


cron