Skip to content

API Token -> "Permissions"-Link does not open modal (ReferenceError: $ is not defined) #81

@AGuyCoding

Description

@AGuyCoding

ReferenceError: $ is not defined
When Features::api() is enabled, and you create a Token in that view, it should open a modal, but it won't, it throws that error:

app.js:N Uncaught ReferenceError: $ is not defined
at Proxy.manageApiTokenPermissions (app.js:N)
at onClick (app.js:N)
at callWithErrorHandling (app.js:N)
at callWithAsyncErrorHandling (app.js:N)
at HTMLButtonElement.invoker (app.js:N)

To Reproduce

  1. Steps to reproduce the behavior:
  2. uncomment Features::api() in jetstream.php
  3. open ApiTokens Page and create an API token, you then should be able to see the error in the dev-tools (js)

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