DataObjects/Core_domain.php
[Pman.Core] / Pman.Dialog.CoreProject.js
index c7976bd..fc5ae86 100644 (file)
@@ -134,7 +134,7 @@ Pman.Dialog.CoreProject = {
                                     listeners : {
                                         add : function (combo)
                                         {
-                                         Pman.Dialog.Companies.show( {  id: 0 },  function(data) {
+                                         Pman.Dialog.CoreCompanies.show( {  id: 0 },  function(data) {
                                                     _this.form.setValues({ 
                                                         client_id : data.id,
                                                         client_id_name : data.name
@@ -143,7 +143,7 @@ Pman.Dialog.CoreProject = {
                                         }
                                     },
                                     allowBlank : 'false',
-                                    displayField : 'code',
+                                    displayField : 'name',
                                     editable : 'false',
                                     emptyText : "Select Company",
                                     fieldLabel : 'Client',