Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

[BUG] jquery-contextmenu is not loaded properly #197

Open
AbhinavBehal opened this issue Apr 2, 2019 · 6 comments
Open

[BUG] jquery-contextmenu is not loaded properly #197

AbhinavBehal opened this issue Apr 2, 2019 · 6 comments
Labels
Approved bug Something isn't working Small

Comments

@AbhinavBehal
Copy link
Collaborator

Describe the bug
The jquery-contextmenu npm package is not being loaded correctly, leading to an error being printed to the console:

index.html:106 Uncaught TypeError: $.contextMenu is not a function

To reproduce
Steps to reproduce the behavior:

  1. Open the application
  2. Observe that the above error appears in the console (Ctrl + Shift + I)

Expected behavior / Acceptance criteria

  • This error should not be thrown
  • The jquery-contextmenu package should be loaded correctly in the application

Desktop

  • OS: Windows 10 - but I don't think this is an OS-specific issue

Additional context

  • Look at this page to understand what the package does.
  • This package is used to add a custom right-click menu to the network graph, as well as the component that lets you view file modifications.
@AbhinavBehal AbhinavBehal added bug Something isn't working Small labels Apr 2, 2019
@Z-Qi
Copy link
Collaborator

Z-Qi commented Apr 2, 2019

Approved, have seen the same error in console before.

@lukethompsxn
Copy link
Collaborator

I am getting the same error in console. Approved

@joel-clarke
Copy link
Collaborator

Approved.

@swimuel
Copy link
Collaborator

swimuel commented Apr 5, 2019

I'm not seeing this error in console, could this be related to #196 where our jQuery version was updated?

@lukethompsxn
Copy link
Collaborator

I'm running the latest master and I'm still getting it on macOS (unlikely system dependent though)

image

@joel-clarke
Copy link
Collaborator

Yup, I'm still getting this as well on Windows.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Approved bug Something isn't working Small
Projects
None yet
Development

No branches or pull requests

5 participants