Pman.Gnumeric.js
[Pman.Core] / Pman.Dialog.PersonEditor.js
index f116f55..2cee8c0 100644 (file)
@@ -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,