Fix issue with adding new tags in advanced view
authorRichard Fairhurst <richard@systemeD.net>
Mon, 4 Apr 2011 10:18:12 +0000 (11:18 +0100)
committerRichard Fairhurst <richard@systemeD.net>
Mon, 4 Apr 2011 10:18:12 +0000 (11:18 +0100)
net/systemeD/potlatch2/TagGrid.mxml

index e4551472ce07662435ec15c9359e61ee8dc85d04..64598fa6391d8c082d2b222681f0191549fcad4a 100644 (file)
                                        }
                                }
                        }
+                       if (!set && event.newValue) tagDataProvider.addItem( { key:event.key, value:event.newValue } );
+
                        // tell Flex to redraw the grid because we've changed a tag
                        invalidateList();
                }