#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:
Andrew O'Neil 2007-11-13 00:14:15 +00:00
parent 852a379417
commit 2149c1569f

View File

@ -18,6 +18,11 @@ abstract class LeftAndMain extends Controller {
i18n::set_locale($member->Locale);
}
// set reading lang
if(Translatable::is_enabled()) {
Translatable::choose_site_lang(i18n::get_existing_content_languages('SiteTree'));
}
parent::init();
// Allow customisation of the access check by a decorator