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

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

index e401d00..0643b92 100644 (file)
@@ -62,6 +62,7 @@
                                         {
                                             "*prop": "store",
                                             "data": "[ 'CONSULTANT', \"Consultant\" ],[ 'CLIENT'    ,  \"Client\" ],[ 'CONTRACTOR' , \"Contractor\" ]",
+                                            "fields": "['val', 'desc']",
                                             "xtype": "SimpleStore",
                                             "|xns": "Roo.data"
                                         }
index e6acdf9..795f19d 100644 (file)
@@ -111,7 +111,8 @@ Pman.Dialog.CoreCompanies = {
                                     store : {
                                         xtype: 'SimpleStore',
                                         xns: Roo.data,
-                                        data : '[ \'CONSULTANT\', "Consultant" ],[ \'CLIENT\'    ,  "Client" ],[ \'CONTRACTOR\' , "Contractor" ]'
+                                        data : '[ \'CONSULTANT\', "Consultant" ],[ \'CLIENT\'    ,  "Client" ],[ \'CONTRACTOR\' , "Contractor" ]',
+                                        fields : '[\'val\', \'desc\']'
                                     }
                                 }
                             ]