View | Details | Raw Unified | Return to bug 43373
Collapse All | Expand All

(-)a/management/univention-directory-manager-modules/modules/univention/admin/modules.py (+9 lines)
 Lines 438-443   def update_extended_attributes(lo, module, position): Link Here 
438
					groupName=groupname,
438
					groupName=groupname,
439
					groupPosition=groupPosition,
439
					groupPosition=groupPosition,
440
				))
440
				))
441
			else:
442
				def remove_from_layout(x):
443
					if hasattr(x, 'layout'):
444
						if pname in x.layout:
445
							x.layout = list(x.layout)
446
							x.layout.remove(pname)
447
						for y in x.layout:
448
							remove_from_layout(y)
449
				remove_from_layout(module)
441
450
442
			module.extended_udm_attributes.append(univention.admin.extended_attribute(
451
			module.extended_udm_attributes.append(univention.admin.extended_attribute(
443
				name=pname,
452
				name=pname,

Return to bug 43373