From 9036445e8aeca4cf42c35c9811c127bf57e9ead0 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 22 Apr 2013 16:14:20 +0800 Subject: [PATCH] Pman.Dialog.PersonEditor.js --- Pman.Dialog.PersonEditor.js | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/Pman.Dialog.PersonEditor.js b/Pman.Dialog.PersonEditor.js index 0170c9c0..4d460d64 100644 --- a/Pman.Dialog.PersonEditor.js +++ b/Pman.Dialog.PersonEditor.js @@ -475,6 +475,53 @@ Pman.Dialog.PersonEditor.prototype = { xtype : 'TextField', width : 220 }, + project_id_fs : { + xtype : 'FieldSetEx', + name: 'project_id_fs', + value: 0, + labelWidth: 100, + expanded: false, + style: 'width:420px;', + legend : "Always File Messages from this Person in Project", + items : [ + Pman.Std.project_id({ + width: 300, + fieldLabel : "Project", + allowBlank : true + }), + { + xtype: 'ComboBox', + name : 'action_type_str', + selectOnFocus:true, + qtip : "Action Type", + fieldLabel : "Action Required", + + allowBlank : true, + width: 50, + + + store: new Ext.data.SimpleStore({ + // load using HTTP + fields: [ 'code', 'desc' ], + data: [[ 'ACTION_REQUIRED', "Yes"] , [ 'NOTIFY', "No"] ] + }), + displayField:'desc', + editable : false, + valueField : 'code', + hiddenName: 'action_type', + value : 'ACTION_REQUIRED', + forceSelection: true, + mode: 'local', + triggerAction: 'all' + // queryParam: 'query[project]', + // loadingText: "Searching...", + //listWidth: 400 + + + + } + ] + }, id : { name : 'id', value : '', xtype : 'Hidden' }, save_send : { name : '_save_send', value : 0, xtype : 'Hidden' }, -- 2.39.2