Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

data-role="page" is not working properly #8621

Open
@aleriver87

Description

@aleriver87

jquery.mobile-1.4.5.min.js:4 Uncaught TypeError: Cannot read property 'concat' of undefined
at jquery.mobile-1.4.5.min.js:4
at jquery.mobile-1.4.5.min.js:4
at jquery.mobile-1.4.5.min.js:3
at jquery.mobile-1.4.5.min.js:3

The error is in line 3337:
mouseEventProps = $.event.props.concat( mouseHookProps ),

My friend try to fix it using:
mouseEventProps = $.event.props == undefined ? null : $.event.props.concat(
mouseHookProps == undefined ? [] : mouseHookProps ),

This fix repair the error message related to Concat, but show a new error:
Uncaught TypeError: url.indexOf is not a function
at jQuery.fn.init.jQuery.fn.load (jquery-3.3.1.js:9857)
at jquery.mobile-1.4.5_mod.js:6176
at jquery.mobile-1.4.5_mod.js:6180
at jquery.mobile-1.4.5_mod.js:22
at jquery.mobile-1.4.5_mod.js:24

The error is in line 6176:
$.mobile.window.load( pageIsFullyLoaded );

All of this occurs using jQuery Core - All 3.x Versions.

When I use jQuery Core 2.2.4 the error message "pageIsFullyLoaded" disappears and the data-role="page" began to work properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions