Remove bug stuff from marker panel
authorAndy Allan <gravitystorm@gmail.com>
Wed, 24 Nov 2010 14:06:47 +0000 (14:06 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Wed, 24 Nov 2010 14:06:47 +0000 (14:06 +0000)
net/systemeD/potlatch2/panels/MarkerPanel.mxml

index 32985da..251277c 100644 (file)
       <mx:DataGridColumn editable="false" dataField="value" headerText="value" />
     </mx:columns>
   </mx:DataGrid>
-  <mx:HBox id="bugControl" horizontalAlign="right" width="100%" visible="false">
-    <mx:LinkButton label="Add Comment" enabled="false" />
-    <mx:LinkButton label="Close Bug" click="closeBug()" />
-  </mx:HBox>
   <mx:Script><![CDATA[
 
       import net.systemeD.halcyon.connection.*;
@@ -36,9 +32,6 @@
 
             selectedEntity=entity;
             updateTagDataProvider();
-            if (layer is BugLayer) {
-              bugControl.visible = true;
-            }
       }
 
       private function updateTagDataProvider():void {
             tags.sortOn("key");
             for each(var tag:Tag in tags) { tagDataProvider.addItem(tag); }
       }
-
-      private function closeBug():void {
-            if (layer is BugLayer) {
-              BugLayer(layer).closeBug(selectedEntity as Marker);
-            }
-      }
       ]]>
   </mx:Script>
 </mx:VBox>
\ No newline at end of file