// load using HTTP
proxy:{
xtype: 'HttpProxy',
- url: baseURL + '/Roo/Companies.html',
+ url: baseURL + '/Roo/core_company',
method: 'GET'
},
reader: Pman.Readers.Companies,
'<b>{name}</b> {address}',
'</div>'
),
- queryParam: 'query[name]',
+ queryParam: 'search[name_starts]',
loadingText: "Searching...",
listWidth: 400,
width : 220,
listeners : {
check : function (_self, checked) {
- Roo.log(this.form);
- if(checked){
-
+ this.form.findField('passwd1').insecure = false;
+
+ if(!checked){
+ this.form.findField('passwd1').insecure = true;
}
}
}