X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Dialog.PersonEditor.js;h=2cee8c0bdb0128f4b10d54538dad8ab263615efa;hp=f116f5597e8334d5a2554926eae540ffffa695bc;hb=refs%2Fheads%2Fwip_edward_T5851_download_old_offer_sheet;hpb=58fbf80eaf1a414eb652d20f88221435bcb9ad9f diff --git a/Pman.Dialog.PersonEditor.js b/Pman.Dialog.PersonEditor.js index f116f559..2cee8c0b 100644 --- a/Pman.Dialog.PersonEditor.js +++ b/Pman.Dialog.PersonEditor.js @@ -238,7 +238,7 @@ Pman.Dialog.PersonEditor.prototype = { url: baseURL + '/Roo/core_company', method: 'GET' }, - reader: Pman.Readers.Companies, + reader: new Roo.data.JsonReader({}, []), //Pman.Readers.Companies, listeners : { beforeload : function(st,o) { @@ -308,10 +308,10 @@ Pman.Dialog.PersonEditor.prototype = { // load using HTTP proxy: { xtype : 'HttpProxy', - url: baseURL + '/Roo/Office.html', + url: baseURL + '/Roo/Core_office.html', method: 'GET' }, - reader: Pman.Readers.Office, + reader: new Roo.data.JsonReader({}, []), //Pman.Readers.Office, listeners : { beforeload : function(st,o) { @@ -499,7 +499,7 @@ Pman.Dialog.PersonEditor.prototype = { }, passwd1 : { name : 'passwd1', - fieldLabel : "New Password ???", + fieldLabel : "New Password ", value : '', allowBlank : true, // must be filled in as we rely on it for login details.. inputType: 'password', // << if comment out this input type, it should be ok @@ -517,8 +517,8 @@ Pman.Dialog.PersonEditor.prototype = { xtype : 'TextField', width : 220 }, - secure_passowrd : { - name : 'secure_passowrd', + secure_password : { + name : 'secure_password', fieldLabel : "Secure passwords", inputValue : 1, valueOff : 0,