From abe766cbea3988dd9bdb4f3ff7c823ce7d53f5de Mon Sep 17 00:00:00 2001 From: Richard Fairhurst Date: Tue, 5 Apr 2011 10:06:04 +0100 Subject: [PATCH] Fix tag repeat bug --- net/systemeD/potlatch2/TagGrid.mxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/systemeD/potlatch2/TagGrid.mxml b/net/systemeD/potlatch2/TagGrid.mxml index 64598fa6..adc4982f 100644 --- a/net/systemeD/potlatch2/TagGrid.mxml +++ b/net/systemeD/potlatch2/TagGrid.mxml @@ -111,7 +111,7 @@ } } } - if (!set && event.newValue) tagDataProvider.addItem( { key:event.key, value:event.newValue } ); + if (!set && event.newValue) tagDataProvider.addItem(new Tag(event.entity,event.key,event.newValue)); // tell Flex to redraw the grid because we've changed a tag invalidateList(); -- 2.36.1