- don't send start module when switching locales
Fix http://code.google.com/p/bigbluebutton/issues/detail?id=1117
This commit is contained in:
parent
e2a22f21a6
commit
dc38119957
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user