Skip to content

Compose links in nodebb won't work when opened in a separate tab #277

Description

@hoover67

I'm writing a greasemonkey script to provide simple keyboard navigation functions in a nodebb istance that uses this composer and as a consquence has disabled nodebb's keyboard shortcuts.

Most of it works fine but I cannot use the /compose-URI in a function for window.replace() and / or window.location.href() which results in the following error when called or pasted into a new browser tab:

Internal Error.
Oops! Looks like something went wrong!

/compose

Failed to lookup view "compose" in views directory "/usr/src/app/build/public/templates"

However physically clicking on the "reply" link in the forum pages works fine.

I wonder if this is a bug or a feature?

Thanks & all the best,

Uwe

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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