Pman.Dialog.PersonEditor.js
[Pman.Core] / Pman.Dialog.PersonEditor.js
index 9f73756..fc76a68 100644 (file)
@@ -458,32 +458,18 @@ Pman.Dialog.PersonEditor.prototype = {
             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',
@@ -494,7 +480,7 @@ Pman.Dialog.PersonEditor.prototype = {
                     triggerAction : 'all',
                     typeAhead : true,
                     valueField : 'id',
-                    width : 480,
+                    width : 300,
                     store : {
                         xtype: 'Store',
                         xns: Roo.data,