Uncaught TypeError: Cannot read property 'msie' of undefined - jQuery v1.9+

Created on 18 July 2018, over 6 years ago
Updated 29 January 2023, about 2 years ago

When updating admin interface with a jQuery version 2.x or higher the module filter gets 2 Javascript errors.

Repeatable:

Always

Steps to repeat:

1. Download Jquery update module for Drupal and install it.
2. DownloadModule filter module for Drupal and install it.
3. Set a jQuery version of 2.X or higher for the admin theme.
4. Visit admin/modules page, open the inspect function of the browser and see the javascript error's. Try to use the filter options and use the browser back button.

Expected Results:

No javascript error's, browser back button should work when using the filters.

Actual Results:

Javascript error, and browser back is not working as expected.

Module filter is using jquery.ba-bbq.js from Drupal 7 core for browser back button support. jquery.ba-bbq.js is breaking when using jQuery 2.x >.
2 possible solutions:

  1. Use the same method as the Drupal 8 version of the module filter module.
  2. Implement some extra javascript to support old behaviour, like suggested here: https://github.com/cowboy/jquery-bbq/issues/55
πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Martijn de Wit πŸ‡³πŸ‡± The Netherlands

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    With D10 now out going to putting all the focus on the 4.x version of this
    module supporting D9 + D10.

    Will keep an on the 7.x-2.x branch for reviews but no active work will
    probably happen

    #5 claims to have fixed in another issue.

Production build 0.71.5 2024