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

[BUG] adminpanel localeswitcher throws console error as it loads new language #160

Open
ghost opened this issue Dec 15, 2017 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Dec 15, 2017

The moment the localeswitcher changes language, it thows the following error in the browser console:

lib.js?ac345151f5:1 Uncaught Error: Syntax error, unrecognized expression: /bolt/editcontent/pages/33?_locale=nl
    at Function.t.error (lib.js?ac345151f5:1)
    at t.tokenize (lib.js?ac345151f5:1)
    at t.select (lib.js?ac345151f5:1)
    at Function.t [as find] (lib.js?ac345151f5:1)
    at re.fn.init.find (lib.js?ac345151f5:1)
    at new re.fn.init (lib.js?ac345151f5:1)
    at re (lib.js?ac345151f5:1)
    at o.show (lib.js?ac345151f5:37)
    at HTMLAnchorElement.<anonymous> (lib.js?ac345151f5:37)
    at Function.each (lib.js?ac345151f5:1)

The language still changes as expected and the content still loads. I tried it in my pages contenttype, but I am fairly certain it will show on any contenttype.

Details

  • Translate Version: 4.1.1
  • Install type: Extension Repository
  • Bolt Version: 3.4.2
  • PHP version: 5.6
  • Used webserver: Nginx
  • For UX/UI issues: Chrome browser(latest)
@ghost ghost changed the title [BUG]adminpanel localeswitcher throws console error as it loads [BUG] adminpanel localeswitcher throws console error as it loads Dec 15, 2017
@ghost ghost changed the title [BUG] adminpanel localeswitcher throws console error as it loads [BUG] adminpanel localeswitcher throws console error as it loads new language Dec 15, 2017
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

0 participants