Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect JavaScript file reference #9

Open
dregad opened this issue Jan 31, 2018 · 0 comments
Open

Incorrect JavaScript file reference #9

dregad opened this issue Jan 31, 2018 · 0 comments

Comments

@dregad
Copy link
Member

dregad commented Jan 31, 2018

Following @comxd's #6 (comment)

In my case (MantisBT 2.10) the htaccess located at /plugins folder prevent access to the plugin.js file located at /plugins/GoogleOauth/pages/assets/js/plugin.js

This is due to incorrectly referencing the javascript file via direct URL [1] instead of leveraging the plugin API. For an example of how it should be done, please see Snippets plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant