background : true,
closable : false,
collapsible : false,
- height : 150,
+ height : 180,
modal : true,
resizable : false,
title : _this._strings['790f855c2139f2faecb810519e90b833'],
- width : 400,
+ width : 600,
xns : Roo,
xtype : 'LayoutDialog',
buttons : [
xtype : 'Button',
listeners : {
click : function() {
- /*
- var name = _this.form.findField('name').getValue();
- name = name.toUpperCase().replace(/[^A-Z]+/g, '');
- if (!name.length) {
- Roo.MessageBox.alert("Error","Please fill in a valid name");
- return;
- }
- _this.form.findField('name').setValue(name);
-
+
_this.form.doAction('submit');
- */
}
}
triggerAction : 'all',
typeAhead : false,
valueField : 'id',
- width : 200,
+ width : 400,
xns : Roo.form,
xtype : 'ComboBox',
items : [
alwaysQuery : true,
displayField : 'keyword',
editable : true,
- fieldLabel : 'company',
+ fieldLabel : 'Keyword',
forceSelection : true,
- idField : 'id',
- listWidth : 200,
+ listWidth : 400,
minChars : 2,
- nameField : 'display_name',
- queryParam : 'search[display_name]',
- tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{display_name}</b> </div>',
+ queryParam : 'query[keyword]',
+ tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{keyword}</b> </div>',
triggerAction : 'all',
valueField : 'id',
- width : 200,
+ width : 400,
xns : Roo.form,
xtype : 'ComboBox',
items : [
},
'|xns' : 'Roo.form',
- fieldLabel : 'Company Types',
- hiddenName : 'filter_company_type',
- name : 'filter_company_type_name',
- width : 210,
+ allowBlank : false,
+ fieldLabel : 'Keywords',
+ hiddenName : 'keyword_filters',
+ name : 'keyword_filters_name',
+ width : 410,
xns : Roo.form,
xtype : 'ComboBoxArray',
items : [