Skip to content
This repository was archived by the owner on Apr 16, 2019. It is now read-only.
This repository was archived by the owner on Apr 16, 2019. It is now read-only.

Variable mistyped in adding $.afui.showMask() timeout parameter #911

Open
@mithenks

Description

@mithenks

When I try to show a loading mask with
$.afui.showMask('Fetching data...');
I'm getting the following error:
Uncaught ReferenceError: timeout is not defined

This is due to a mistyped variable name. Line 622 of /master/src/af.ui.js
if (!value || typeof value !== "number") timeout = 15000;
must be
if (!value || typeof value !== "number") value = 15000;

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