Alter subtabs to add elements to form
authorAndy Allan <andy@gravitystorm.co.uk>
Sun, 27 Nov 2011 13:02:15 +0000 (13:02 +0000)
committerAndy Allan <andy@gravitystorm.co.uk>
Sun, 27 Nov 2011 13:02:15 +0000 (13:02 +0000)
net/systemeD/potlatch2/TagViewer.mxml

index 816242e..5531064 100644 (file)
           if ( components == null || tab == null || tab.numChildren >= components.length )
               return;
           for each (var component:DisplayObject in components ) {
-              tab.addChild(component);
+              Form(tab.getChildByName("form")).addElement(UIComponent(component));
           }
       }