mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
#1702 - When in translation mode on meta-data tab, refreshing CMS removes site tree
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44676 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
852a379417
commit
2149c1569f
@ -17,6 +17,11 @@ abstract class LeftAndMain extends Controller {
|
|||||||
if(!empty($member->Locale)) {
|
if(!empty($member->Locale)) {
|
||||||
i18n::set_locale($member->Locale);
|
i18n::set_locale($member->Locale);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// set reading lang
|
||||||
|
if(Translatable::is_enabled()) {
|
||||||
|
Translatable::choose_site_lang(i18n::get_existing_content_languages('SiteTree'));
|
||||||
|
}
|
||||||
|
|
||||||
parent::init();
|
parent::init();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user