From: Andy Allan Date: Thu, 15 Sep 2011 16:22:59 +0000 (+0100) Subject: That's some messed up stuff right there X-Git-Tag: 2.3~11 X-Git-Url: https://git.openstreetmap.org/potlatch2.git/commitdiff_plain/8c16d0207ed90906230089b5f0a7a036b22748c7 That's some messed up stuff right there --- diff --git a/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml b/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml index b41576f6..b5ee71cf 100644 --- a/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml +++ b/net/systemeD/potlatch2/mapfeatures/editors/ChoiceEditor.mxml @@ -31,8 +31,12 @@ [Bindable(event="factory_set")] protected function get choices():ArrayCollection { if ( _choices == null ) { + trace("factory is "+ _factory); + trace("processing choices for "+ _factory.key); // or .direcction + trace("factory is now "+ _factory); _choices = new ArrayCollection(); for each ( var choice:Choice in ChoiceEditorFactory(_factory).choices ) + trace("added item: "+choice.value); _choices.addItem(choice); _choices.addItem(createUnsetChoice()); }