Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: toast.open fails without second argument. #1851

Open
Assignees
raheeliftikhar5
Labels
Javascript FrontendPull requests that update Javascript code
@ScottKemp

Description

@ScottKemp

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The docs says this should work:
toast.open('Hello World!');

It does not. And it fails with a cryptic console log.

After you add the second parameter, it does.
toast.open('Hello World!', {duration: 10});

Either need fix the function, or update the docs

Expected Behavior

toast.open('Hello World!');

Should pop up Hello World!

Steps to reproduce

Create a JS query.

Put this as the contents:
toast.open('Hello World!');

Run the query. It will not popup

Environment

Self Hosted 2.7.2

Additional Information

No response

Metadata

Metadata

Labels

Javascript FrontendPull requests that update Javascript code

Type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp