Show relation index in advanced properties
authorAndy Allan <gravitystorm@gmail.com>
Sun, 10 Jan 2010 09:57:10 +0000 (09:57 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Sun, 10 Jan 2010 09:57:10 +0000 (09:57 +0000)
net/systemeD/potlatch2/TagViewer.mxml

index e6053fd..f8ee6b7 100644 (file)
@@ -42,7 +42,7 @@
         itemDoubleClick="editRelation(ListEvent(event).rowIndex)">
         <mx:columns>
             <mx:DataGridColumn editable="false" dataField="description" headerText="Relation"/>
-            <mx:DataGridColumn editable="false" dataField="id" headerText="ID"/>
+            <mx:DataGridColumn editable="false" dataField="id_idx" headerText="ID"/>
             <mx:DataGridColumn editable="true" dataField="role" headerText="Role"/>
         </mx:columns>
     </mx:DataGrid>
                     props["index"] = memberIndex;
                     props["role"] = rel.getMember(memberIndex).role;
                     props["description"] = rel.getDescription();
+                    props["id_idx"] = rel.id + "/"+memberIndex;
                     
                     relations.push(props);
                   }