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 3517a780f9be78d878572978b007cc0b1183128b..9e9af63d89b1bbf16e307ec57d5347407a51bc74 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);