Pman.Dialog.CoreCompanies.bjs
authorChris <chris@roojs.com>
Wed, 12 Sep 2012 07:17:24 +0000 (15:17 +0800)
committerChris <chris@roojs.com>
Wed, 12 Sep 2012 07:17:24 +0000 (15:17 +0800)
Pman.Dialog.CoreCompanies.js

Pman.Dialog.CoreCompanies.bjs
Pman.Dialog.CoreCompanies.js

index 806b8bd..24b0621 100644 (file)
                                             "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}",
index 5bbd5e3..dbe638c 100644 (file)
@@ -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,