country : {
xtype: 'ComboBoxArray',
xns: Roo.form,
- fieldLabel : 'Journalist',
+ fieldLabel : 'Country',
hiddenName : 'country_id',
name : 'country',
width : 300,
combo : {
xtype: 'ComboBox',
xns: Roo.form,
- listeners : {
- add : function (combo)
- {
- Pman.Dialog.ClippingJournalist.show({
- id:0,
- _clipping_id : _this.form.findField('id').getValue(),
- publication : _this.data.media_name,
- country : _this.data.country,
- campaign_id : _this.data.project_id,
- campaign_name : _this.data.project_id_name
-
- });
- }
- },
allowBlank : true,
alwaysQuery : true,
displayField : 'name',
editable : false,
- emptyText : "Select News",
+ emptyText : "Select Country",
fieldLabel : 'Journalist',
forceSelection : true,
idField : 'id',
triggerAction : 'all',
typeAhead : true,
valueField : 'id',
- width : 480,
+ width : 300,
store : {
xtype: 'Store',
xns: Roo.data,