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

JS error when changing language #334

Closed
cuixiping opened this issue Mar 16, 2019 · 0 comments
Closed

JS error when changing language #334

cuixiping opened this issue Mar 16, 2019 · 0 comments

Comments

@cuixiping
Copy link
Member

Describe the bug
JS error when changing language

To Reproduce

  1. Open ES6-Module version in Chrome
  2. Press F12 to open console
  3. Click on the main icon
  4. Click Editor Options
  5. Select another language in the language list
  6. Click OK button
  7. See error on the console
Uncaught (in promise) TypeError: Cannot read property 'runExtension' of undefined
    at loadedExtensionNames.forEach (svg-editor.js:6226)
    at Array.forEach (<anonymous>)
    at editor.setLang (svg-editor.js:6225)
    at HTMLButtonElement.editor.savePreferences (svg-editor.js:4811)

Expected behavior
No JS error.

SVG-Edit environment (IMPORTANT)

  • File for SVG-Edit: editor/svg-editor.js
  • Version: latest
  • Protocol: http

Desktop (please complete the following information):

  • OS: Windows
  • Browser chrome
  • Version 71

Screenshots
image

image

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