- don't send start module when switching locales

Fix http://code.google.com/p/bigbluebutton/issues/detail?id=1117
This commit is contained in:
Richard Alam 2012-01-16 22:05:10 +00:00
parent e2a22f21a6
commit dc38119957

View File

@ -126,6 +126,8 @@
dispState = stage.displayState;
}
private var sendStartModulesEvent:Boolean = true;
private function handleApplicationVersionEvent(event:AppVersionEvent):void {
if (event.configLocaleVersion == true) {
receivedConfigLocaleVer = true;
@ -140,9 +142,12 @@
if (receivedConfigLocaleVer && receivedResourceLocaleVer) {
LogUtil.debug("Comparing locale versions.");
if (!event.suppressLocaleWarning) checkLocaleVersion(localeVersion);
if (sendStartModulesEvent) {
sendStartModulesEvent = false;
sendStartAllModulesEvent();
}
}
}
public function sendStartAllModulesEvent():void{
LogUtil.debug("Sending start all modules event");