Pman.Dialog.XtupleQuickContact.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 12 Nov 2014 03:02:59 +0000 (11:02 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 12 Nov 2014 03:02:59 +0000 (11:02 +0800)
Pman.Dialog.XtupleQuickContact.js

Pman.Dialog.XtupleQuickContact.bjs
Pman.Dialog.XtupleQuickContact.js

index d0cbfaa..5175f4e 100644 (file)
                                     "$ xns" : "Roo.form",
                                     "items" : [
                                         {
-                                            "fieldLabel" : "Phone",
-                                            "xtype" : "TextField",
-                                            "$ regex" : "/^[0-9 +-]+$/",
-                                            "width" : 150,
+                                            "xtype" : "Column",
                                             "$ xns" : "Roo.form",
-                                            "name" : "cntct_phone"
+                                            "items" : [
+                                                {
+                                                    "fieldLabel" : "Phone",
+                                                    "xtype" : "TextField",
+                                                    "$ regex" : "/^[0-9 +-]+$/",
+                                                    "width" : 150,
+                                                    "$ xns" : "Roo.form",
+                                                    "name" : "cntct_phone"
+                                                }
+                                            ]
                                         },
                                         {
-                                            "fieldLabel" : "Phone (Alt)",
-                                            "xtype" : "TextField",
-                                            "$ regex" : "/^[0-9 +-]+$/",
-                                            "width" : 150,
+                                            "xtype" : "Column",
                                             "$ xns" : "Roo.form",
-                                            "name" : "cntct_phone1"
+                                            "items" : [
+                                                {
+                                                    "fieldLabel" : "Phone (Alt)",
+                                                    "xtype" : "TextField",
+                                                    "$ regex" : "/^[0-9 +-]+$/",
+                                                    "width" : 150,
+                                                    "$ xns" : "Roo.form",
+                                                    "name" : "cntct_phone1"
+                                                }
+                                            ]
                                         }
                                     ]
                                 },
index 1770025..616b7c6 100644 (file)
@@ -149,21 +149,37 @@ Pman.Dialog.XtupleQuickContact = {
                                     items : [
                                        {
                                             '|xns' : 'Roo.form',
-                                            fieldLabel : 'Phone',
-                                            xtype : 'TextField',
-                                            regex : /^[0-9 +-]+$/,
-                                            width : 150,
+                                            xtype : 'Column',
                                             xns : Roo.form,
-                                            name : 'cntct_phone'
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.form',
+                                                    fieldLabel : 'Phone',
+                                                    xtype : 'TextField',
+                                                    regex : /^[0-9 +-]+$/,
+                                                    width : 150,
+                                                    xns : Roo.form,
+                                                    name : 'cntct_phone'
+                                                }
+                                            ]
+
                                         },
                                        {
                                             '|xns' : 'Roo.form',
-                                            fieldLabel : 'Phone (Alt)',
-                                            xtype : 'TextField',
-                                            regex : /^[0-9 +-]+$/,
-                                            width : 150,
+                                            xtype : 'Column',
                                             xns : Roo.form,
-                                            name : 'cntct_phone1'
+                                            items : [
+                                               {
+                                                    '|xns' : 'Roo.form',
+                                                    fieldLabel : 'Phone (Alt)',
+                                                    xtype : 'TextField',
+                                                    regex : /^[0-9 +-]+$/,
+                                                    width : 150,
+                                                    xns : Roo.form,
+                                                    name : 'cntct_phone1'
+                                                }
+                                            ]
+
                                         }
                                     ]