diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/events/AppVersionEvent.as b/bigbluebutton-client/src/org/bigbluebutton/main/events/AppVersionEvent.as index b0e80a81e6..570cc8fdf5 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/main/events/AppVersionEvent.as +++ b/bigbluebutton-client/src/org/bigbluebutton/main/events/AppVersionEvent.as @@ -2,13 +2,13 @@ package org.bigbluebutton.main.events { import flash.events.Event; - public class AppVersionEvent extends Event - { - + public class AppVersionEvent extends Event { public static const APP_VERSION_EVENT:String = "APP VERSION EVENT"; public var appVersion:String; - public var localVersion:String; - public var suppressLocaleWarning:Boolean; + public var localeVersion:String; + public var suppressLocaleWarning:Boolean = false; + // If this version is from config.xml (true) or from locale.swf (false) + public var configLocaleVersion:Boolean = false; public function AppVersionEvent() { diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/model/ConfigParameters.as b/bigbluebutton-client/src/org/bigbluebutton/main/model/ConfigParameters.as index 1181fc5208..7ff6f861b9 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/main/model/ConfigParameters.as +++ b/bigbluebutton-client/src/org/bigbluebutton/main/model/ConfigParameters.as @@ -24,8 +24,6 @@ package org.bigbluebutton.main.model import flash.net.URLLoader; import flash.net.URLRequest; import flash.utils.Dictionary; - - import org.bigbluebutton.main.events.AppVersionEvent; import org.bigbluebutton.main.model.modules.ModuleDescriptor; public class ConfigParameters { @@ -53,9 +51,7 @@ package org.bigbluebutton.main.model private var _modules:Dictionary; - public function ConfigParameters(loadedListener:Function, file:String = FILE_PATH) - { - + public function ConfigParameters(loadedListener:Function, file:String = FILE_PATH) { this.numModules = 0; this.loadedListener = loadedListener; _urlLoader = new URLLoader(); diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/model/modules/ModuleManager.as b/bigbluebutton-client/src/org/bigbluebutton/main/model/modules/ModuleManager.as index ff1df6d03d..0f99be1e67 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/main/model/modules/ModuleManager.as +++ b/bigbluebutton-client/src/org/bigbluebutton/main/model/modules/ModuleManager.as @@ -150,7 +150,8 @@ package org.bigbluebutton.main.model.modules var dispatcher:Dispatcher = new Dispatcher(); var versionEvent:AppVersionEvent = new AppVersionEvent(); versionEvent.appVersion = configParameters.version; - versionEvent.localVersion = configParameters.localeVersion; + versionEvent.localeVersion = configParameters.localeVersion; + versionEvent.configLocaleVersion = true; versionEvent.suppressLocaleWarning = configParameters.suppressLocaleWarning; dispatcher.dispatchEvent(versionEvent); } diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/views/MainApplicationShell.mxml b/bigbluebutton-client/src/org/bigbluebutton/main/views/MainApplicationShell.mxml index 215fdf37bb..6b3c135852 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/main/views/MainApplicationShell.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/main/views/MainApplicationShell.mxml @@ -44,16 +44,20 @@