From: Chris Date: Wed, 12 Sep 2012 07:17:24 +0000 (+0800) Subject: Pman.Dialog.CoreCompanies.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=385caad436a3100c178f78154e0982ae9b54563f Pman.Dialog.CoreCompanies.bjs Pman.Dialog.CoreCompanies.js --- diff --git a/Pman.Dialog.CoreCompanies.bjs b/Pman.Dialog.CoreCompanies.bjs index 806b8bd5..24b0621d 100644 --- a/Pman.Dialog.CoreCompanies.bjs +++ b/Pman.Dialog.CoreCompanies.bjs @@ -61,33 +61,6 @@ "xtype": "TextField", "|xns": "Roo.form" }, - { - "allowBlank": false, - "displayField": "desc", - "editable": false, - "emptyText": "Select Type", - "fieldLabel": "Type", - "hiddenName": "comptype", - "listWidth": 250, - "name": "comptype_name", - "qtip": "Select Company type", - "selectOnFocus": true, - "triggerAction": "all", - "typeAhead": false, - "valueField": "val", - "width": 200, - "xtype": "ComboBox", - "|xns": "Roo.form", - "items": [ - { - "*prop": "store", - "data": "[ 'CONSULTANT', \"Consultant\" ],[ 'CLIENT' , \"Client\" ],[ 'CONTRACTOR' , \"Contractor\" ]", - "fields": "['val', 'desc']", - "xtype": "SimpleStore", - "|xns": "Roo.data" - } - ] - }, { "listeners": { "render": "function (_self)\n{\n _this.etypeCombo = _self;\n}", diff --git a/Pman.Dialog.CoreCompanies.js b/Pman.Dialog.CoreCompanies.js index 5bbd5e37..dbe638c0 100644 --- a/Pman.Dialog.CoreCompanies.js +++ b/Pman.Dialog.CoreCompanies.js @@ -113,30 +113,6 @@ Pman.Dialog.CoreCompanies = { qtip : "Enter code", width : 100 }, - { - xtype: 'ComboBox', - xns: Roo.form, - allowBlank : false, - displayField : 'desc', - editable : false, - emptyText : "Select Type", - fieldLabel : 'Type', - hiddenName : 'comptype', - listWidth : 250, - name : 'comptype_name', - qtip : "Select Company type", - selectOnFocus : true, - triggerAction : 'all', - typeAhead : false, - valueField : 'val', - width : 200, - store : { - xtype: 'SimpleStore', - xns: Roo.data, - data : '[ \'CONSULTANT\', "Consultant" ],[ \'CLIENT\' , "Client" ],[ \'CONTRACTOR\' , "Contractor" ]', - fields : '[\'val\', \'desc\']' - } - }, { xtype: 'ComboBox', xns: Roo.form,