Opened 10 years ago
Closed 9 years ago
#13016 closed Bug (expired)
lang.js: that[ languageCode ].dir is undefined
Reported by: | Tom Elssjö | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
After line 53 in file core/lang.js the following code is found:
that[ languageCode ].dir = that.rtl[ languageCode ] ? 'rtl' : 'ltr';
This fails because that[ languageCode ] have not been defined yet. This can be fixed by adding:
if(!that[ languageCode ]) { that[ languageCode ] = {}; }
before that.
Change History (2)
comment:1 Changed 10 years ago by
Status: | new → pending |
---|---|
Version: | 4.4.7 |
comment:2 Changed 9 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
Thanks for the solution but you have forgotten to provide the configuration or test case in which editor fails.
When loading editor or changing languages, I can't see any errors being thrown. What are the exact actions, I need to perform, to get this error thrown?