fix issue with creating new relations
authorRichard Fairhurst <richard@systemed.net>
Sat, 4 Dec 2010 21:47:48 +0000 (21:47 +0000)
committerRichard Fairhurst <richard@systemed.net>
Sat, 4 Dec 2010 21:47:48 +0000 (21:47 +0000)
net/systemeD/potlatch2/TagViewer.mxml

index 3517a78..9e9af63 100644 (file)
       private var listeningToRelations:Array = [];
       
       private function setupAdvanced(entity:Entity):void {
+               if (!advancedTagGrid) advancedContainer.createComponentsFromDescriptors();      // if Flex hasn't created it, force it
                advancedTagGrid.init(entity);
         advancedAddButton.addEventListener(KeyboardEvent.KEY_DOWN, advancedAddButtonKeyboardEvent);