fix bug in Sonia.user.FormPanel

This commit is contained in:
Sebastian Sdorra
2010-11-23 17:52:40 +01:00
parent f79812bf3d
commit f788918165

View File

@@ -124,7 +124,8 @@ Sonia.user.FormPanel = Ext.extend(Sonia.rest.FormPanel,{
items: [{
fieldLabel: 'Name',
name: 'name',
allowBlank: false
allowBlank: false,
readOnly: this.item != null
},{
fieldLabel: 'DisplayName',
name: 'displayName',