web/uicfg.py
branchstable
changeset 6335 d13d488a453e
parent 6283 c827fa795a6b
child 6366 1806148d6ce8
--- a/web/uicfg.py	Fri Sep 24 11:05:10 2010 +0200
+++ b/web/uicfg.py	Fri Sep 24 12:53:56 2010 +0200
@@ -90,11 +90,8 @@
 def init_primaryview_display_ctrl(rtag, sschema, rschema, oschema, role):
     if role == 'subject':
         oschema = '*'
-        label = rschema.type
     else:
         sschema = '*'
-        label = '%s_%s' % (rschema, role)
-    rtag.setdefault((sschema, rschema, oschema, role), 'label', label)
     rtag.counter += 1
     rtag.setdefault((sschema, rschema, oschema, role), 'order', rtag.counter)