From: Alan Knowles Date: Wed, 12 Nov 2014 03:02:59 +0000 (+0800) Subject: Pman.Dialog.XtupleQuickContact.bjs X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=4b55087580695ef3941ddea75d1862d82404d52c;p=Pman.Xtuple Pman.Dialog.XtupleQuickContact.bjs Pman.Dialog.XtupleQuickContact.js --- diff --git a/Pman.Dialog.XtupleQuickContact.bjs b/Pman.Dialog.XtupleQuickContact.bjs index d0cbfaae..5175f4e2 100644 --- a/Pman.Dialog.XtupleQuickContact.bjs +++ b/Pman.Dialog.XtupleQuickContact.bjs @@ -60,20 +60,32 @@ "$ 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" + } + ] } ] }, diff --git a/Pman.Dialog.XtupleQuickContact.js b/Pman.Dialog.XtupleQuickContact.js index 1770025b..616b7c6c 100644 --- a/Pman.Dialog.XtupleQuickContact.js +++ b/Pman.Dialog.XtupleQuickContact.js @@ -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' + } + ] + } ]