beforeload : function(st,o)
{
- o.params.isOwner = 0;
+ o.params['!comptype'] = 'OWNER';
},
loadexception : Pman.loadException
adderclick : function()
{
var cb = this;
- Pman.Dialog.Companies.show( { id: 0 }, function(data) {
+ Pman.Dialog.CoreCompanies.show( { id: 0 }, function(data) {
cb.setFromData(data);
});
}
fieldLabel : "New Password ",
value : '',
allowBlank : true, // must be filled in as we rely on it for login details..
- inputType: 'password',
+ inputType: 'password', // << if comment out this input type, it should be ok
xtype : 'SecurePass',
width : 220,
imageRoot : rootURL + '/Pman/templates/images'
fieldLabel : "Password (type again to confirm)",
value : '',
allowBlank : true, // must be filled in as we rely on it for login details..
- inputType: 'password',
+ inputType: 'password', // << if comment out this input type, it should be ok
xtype : 'TextField',
width : 220
},