Beginnings of status API support, including WTFE and dedicated UI for selecting it
[potlatch2.git] / net / systemeD / halcyon / NodeUI.as
index 204c14f8ab2f2647c17e117d76c9bd5ea405910a..4f8431f2b4a45199210361dffccc52eccd5b1492 100644 (file)
@@ -74,6 +74,7 @@ package net.systemeD.halcyon {
             setStateClass('hasTags', entity.hasInterestingTags());
             setStateClass('dupe', Node(entity).isDupe());
                        tags=applyStateClasses(tags);
+                       if (entity.status) { tags['_status']=entity.status; }
                        if (!styleList || !styleList.isValidAt(paint.map.scale)) {
                                styleList=paint.ruleset.getStyles(entity,tags,paint.map.scale); 
                        }