web/uicfg.py
branchtls-sprint
changeset 1723 30c3a713ab61
parent 1721 694f6a50e138
child 1739 78b0819162a8
--- a/web/uicfg.py	Mon May 11 11:30:42 2009 +0200
+++ b/web/uicfg.py	Mon May 11 11:55:10 2009 +0200
@@ -34,10 +34,11 @@
         super(RDisplayRelationTags, self).__init__()
         self._counter = 0
 
-    def tag_relation(self, values, *args, **kwargs):
-        super(RDisplayRelationTags, self).tag_relation(values, *args, **kwargs)
-        if values:
-            values['order'] = self.get_timestamp()
+    def tag_relation(self, stype, rtype, otype, tag, tagged=None):
+        super(RDisplayRelationTags, self).tag_relation(stype, rtype, otype, tag,
+                                                       tagged)
+        if tag:
+            tag['order'] = self.get_timestamp()
 
     def get_timestamp(self):
         self._counter += 1