From 350cf82714b2ada8b18fd93d1e4b3ebcf7ede6c7 Mon Sep 17 00:00:00 2001 From: Hector Cortez Date: Thu, 5 Jan 2012 17:47:26 -0400 Subject: [PATCH] BUG 8242 Set to readonly Code field, when editing the selected role. --- workflow/engine/templates/roles/rolesList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/templates/roles/rolesList.js b/workflow/engine/templates/roles/rolesList.js index c37acd950..c7f9e37a7 100755 --- a/workflow/engine/templates/roles/rolesList.js +++ b/workflow/engine/templates/roles/rolesList.js @@ -172,7 +172,7 @@ Ext.onReady(function(){ frame: true, items:[ {xtype: 'textfield', name: 'rol_uid', hidden: true }, - {xtype: 'textfield', fieldLabel: _('ID_CODE'), name: 'code', width: 250, allowBlank: false}, + {xtype: 'textfield', fieldLabel: _('ID_CODE'), name: 'code', width: 250, allowBlank: false, readOnly: true }, {xtype: 'textfield', fieldLabel: _('ID_NAME'), name: 'name', width: 200, allowBlank: false}, { xtype: 'combo',