Remove the unused layer variable from the background panel.
[potlatch2.git] / net / systemeD / potlatch2 / panels / BackgroundPanel.mxml
index 2865581904846fc8c65599911b25ed4e55bc7d6a..9f68da639428d1c8bf303367e7203f8633724bbf 100644 (file)
   <fx:Script><![CDATA[
 
       import net.systemeD.halcyon.connection.*;
   <fx:Script><![CDATA[
 
       import net.systemeD.halcyon.connection.*;
-      import net.systemeD.halcyon.MapPaint;
       import net.systemeD.potlatch2.utils.SnapshotConnection;
       import mx.collections.*;
 
       private var selectedEntity:Entity;
       private var tagDataProvider:ArrayCollection;
       import net.systemeD.potlatch2.utils.SnapshotConnection;
       import mx.collections.*;
 
       private var selectedEntity:Entity;
       private var tagDataProvider:ArrayCollection;
-      private var layer:MapPaint;
       [Bindable]
       private var connectionName:String;
 
       [Bindable]
       private var connectionName:String;
 
-      public function init(entity:Entity, layer:MapPaint):void {
-          this.layer = layer;
+      public function init(entity:Entity):void {
           if ( tagDataProvider == null ) {
               tagDataProvider = new ArrayCollection();
               backgroundPanelDG.dataProvider = tagDataProvider;
           if ( tagDataProvider == null ) {
               tagDataProvider = new ArrayCollection();
               backgroundPanelDG.dataProvider = tagDataProvider;