Make advanced tag panel listen to tag changes; fix issues with panel not responding...
[potlatch2.git] / net / systemeD / potlatch2 / TagViewer.mxml
index bc79c8d6ce77cbb16068ca9f9dd644a65c346cd2..3c4c9c0c306ec8eac1ac52455b671175478eb2b1 100644 (file)
        }
 
       private function tagChanged(event:TagEvent):void {
-             if(selectedEntity != null && selectedEntity is EntityCollection) {
-                       setupMultiAdvanced(selectedEntity);
-                   return;
-                 }
-
           refreshFeatureIcon();
-          // ** FIXME - changing tags on Advanced tab should update simple view
-          // (but putting initialiseEditors here breaks other stuff, because it causes
-          // the Basic pane to be selected)
-
-          // if the advancedTagGrid has already been set up, it needs to be refreshed.
-          // FIXME make this better, maybe advancedTagGrid should be event listening.
-          if(advancedContainer.initialized) {
-            checkAdvanced();
-          }
       }
 
       public function loadFeatures():void {