﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11911	"[PR#98] Setting of the ""dir"" attribute in the preloaded lang JS case"	Marek Lewandowski	Marek Lewandowski	"GitHub user **akashmohapatra** created a pull request for following issue:

If language dictionary is predefined in {{{CKEDITOR.lang}}} object, it will not set {{{CKEDITOR.lang[ '<langId>' ].dir}}} property.

1. open AJAX sample with CKEditor (i.e. samples/ajax.html)
2. execute following code in console:
{{{
CKEDITOR.lang[ CKEDITOR.lang.detect() ] = { common: {} }
}}}
3. Click ""Create Editor"" button to init first CKE instance
4. execute following code in console
{{{
CKEDITOR.lang[ CKEDITOR.lang.detect() ].dir
}}}

'''Expected result:'''[[BR]]
This statement should return a string: {{{""ltr""}}} (or {{{""rtl""}}} in case of using rtl lang)

'''Current result:'''[[BR]]
Variable is not assigned:  {{{undefined}}}

Pull request can be found at [https://github.com/ckeditor/ckeditor-dev/pull/98 GitHub]."	Bug	closed	Normal	CKEditor 4.4.1	UI : Language		fixed		
