Suppress binding warnings
authorAndy Allan <andy@gravitystorm.co.uk>
Sun, 27 Nov 2011 15:37:05 +0000 (15:37 +0000)
committerAndy Allan <andy@gravitystorm.co.uk>
Sun, 27 Nov 2011 15:37:05 +0000 (15:37 +0000)
net/systemeD/potlatch2/help/HelpDialog.mxml

index 883774a..432b9e0 100644 (file)
@@ -15,6 +15,7 @@
     import net.systemeD.halcyon.Globals;
 
        [Bindable] private var application:Object = FlexGlobals.topLevelApplication;
+       [Bindable] private var locale:String = Globals.vars.locale;
 
     /** Pops up a multi-tabbed help window in the middle of the screen, then remembers that the user has seen it. */
     public function init():void {
   <mx:ControlBar>
     <mx:VBox>
       <mx:Label text="Version: {application.version} Build: {application.build_number}" />
-      <mx:Label text="Locale: {Globals.vars.locale}" />
+      <mx:Label text="Locale: {locale}" />
     </mx:VBox>
     <mx:Spacer width="100%"/>
     <mx:Button label="Ok" click="PopUpManager.removePopUp(this);" styleName="titleWindowButton" />