umco / umbraco-vorto

1:1 multilingual property editor wrapper for Umbraco
https://our.umbraco.org/projects/backoffice-extensions/vorto
MIT License
44 stars 42 forks source link

No info about active language in cookies untill language tab switch #82

Closed andreygarmash closed 5 years ago

andreygarmash commented 7 years ago

Steps to reproduce:

  1. load umbraco backoffice in incognito mode
  2. select a page that contains vorto field

Expected result: localStorage.getItem('vortoActiveLanguage') returns currently selected language (default) Actual: localStorage.getItem('vortoActiveLanguage') returns undefined

mattbrailsford commented 5 years ago

Why are you accessing the local storage item? I'm not sure exactly what the bug here is? Is the undefined causing a problem in vorto? or are you trying to use it somewhere outside of a vorto context?

mattbrailsford commented 5 years ago

Closing until an actual bug is identified. Feel free to re-open with further information.