Pman.Dialog.PersonEditor.bjs
authorKH Lau <khlau@roojs.com>
Tue, 8 Aug 2017 08:25:29 +0000 (16:25 +0800)
committerKH Lau <khlau@roojs.com>
Tue, 8 Aug 2017 08:25:29 +0000 (16:25 +0800)
Pman.Dialog.PersonEditor.js

Pman.Dialog.PersonEditor.bjs
Pman.Dialog.PersonEditor.js

index 3b23245..f500f4c 100644 (file)
@@ -6,6 +6,7 @@
  "permname" : "",
  "modOrder" : "001",
  "strings" : {
+  "ce8ae9da5b7cd6c3df2929543a9af92d" : "Email",
   "bcc254b55c4a1babdf1dcb82c207506b" : "Phone",
   "8a25a3ae30ab6e8ceb5b8c4009a3336f" : "Role / Position",
   "5067d67ab0b0ab1e1099d1de30eccd82" : "Contac Name",
           },
           {
            "listeners" : {
-            "render" : "function (_self)\n{\n    _this.phone = self;\n}"
+            "render" : "function (_self)\n{\n    _this.fax = self;\n}"
            },
            "String name" : "fax",
            "xtype" : "Input",
            "string fieldLabel" : "Fax",
            "$ xns" : "Roo.bootstrap"
+          },
+          {
+           "listeners" : {
+            "render" : "function (_self)\n{\n    _this.fax = self;\n}"
+           },
+           "String name" : "email",
+           "xtype" : "Input",
+           "string fieldLabel" : "Email",
+           "$ xns" : "Roo.bootstrap"
           }
          ]
         }
index 0924a09..fdb4e17 100644 (file)
@@ -8,6 +8,7 @@ Pman.Dialog.PersonEditor= function() {}
 Roo.apply(Pman.Dialog.PersonEditor.prototype, {
 
  _strings : {
+  'ce8ae9da5b7cd6c3df2929543a9af92d' :"Email",
   'bcc254b55c4a1babdf1dcb82c207506b' :"Phone",
   '8a25a3ae30ab6e8ceb5b8c4009a3336f' :"Role / Position",
   '5067d67ab0b0ab1e1099d1de30eccd82' :"Contac Name",
@@ -139,7 +140,20 @@ Roo.apply(Pman.Dialog.PersonEditor.prototype, {
             listeners : {
              render : function (_self)
               {
-                  _this.phone = self;
+                  _this.fax = self;
+              }
+            },
+            xns : Roo.bootstrap,
+            '|xns' : 'Roo.bootstrap'
+           },
+           {
+            xtype : 'Input',
+            fieldLabel : _this._strings['ce8ae9da5b7cd6c3df2929543a9af92d'] /* Email */,
+            name : 'email',
+            listeners : {
+             render : function (_self)
+              {
+                  _this.fax = self;
               }
             },
             xns : Roo.bootstrap,