Show changeset comments in the history dialogue
[potlatch2.git] / net / systemeD / halcyon / connection / Changeset.as
index de7d97a..3f6ed61 100644 (file)
@@ -14,6 +14,13 @@ package net.systemeD.halcyon.connection {
                public override function getType():String {
                        return 'changeset';
                }
+
+               public function get comment():String {
+                       var t:Object=getTagsHash();
+                       var s:String=t['comment'] ? t['comment'] : '';
+                       if (t['source']) { s+=" ["+t['source']+"]"; }
+                       return s;
+               }
     }
 
 }